Search:
Type: Posts; User: DerShodan
Search:
Search took 0.03 seconds.
-
Thanks a lot, that worked.
But I must honestly say, that I stil have no idea why it behaves like that.
Anyways, I can continue working at least, so thanks a mill!
-
Hey!
im trying to save pointers to collection objects in a Singleton class, in order to be able and access those Collections from everywhere in my application.
Problem im stumbling into is,...
-
AIIIIIIIIIIIIIIII
Thank you!! xD
-
Hey there!
Im implementig inheritance in my current project and end up with a the C2248 error.
Relevant Code:
First my Tower.h from which I want to inherit a class "Plasmatower"
...
-
March 17th, 2009, 06:22 AM
Resolved: I forgot to Compile the Application for Debug... Sorry for bothering you ...
god am I stupid xD
-
March 17th, 2009, 05:27 AM
Hey there!
Im using a Singleton class in order to control certain things in an application. There is a method "triggerNextWave()"
setting a breakpoint at the line
void triggerNextWave() {...
-
February 17th, 2009, 11:54 AM
2 Points:
1. Learning Java for sure is easier than learning C++, because C++ lets you do a lot of ugly things, that would be impossible in Java for safety reasons.
The point is though, that once...
-
February 10th, 2009, 12:30 PM
No, it was not my intention, to create the Entity reference within the Constructor.
I declare the Reference within the header file and afaik references must always reference something. Thats why I...
-
February 10th, 2009, 11:21 AM
Actually while writing the comment, you just quoted, I thought of just that :) Ill do it, but it rises another question, that I completely forgot to ask:
Is there a safe way to test if a Pointer...
-
February 10th, 2009, 11:07 AM
Well thanks for the replies.
The class Vector3 is part of the Ogre 3D engine, and I would expect this to be implemented correctly. Thanks for your answers!
-
February 10th, 2009, 10:54 AM
There is a class "Example"...
Class Example {
private:
Entity entObj;
Entity* entPtr;
Entity& entRef = Entity(x, y, z);
public:
-
February 10th, 2009, 07:22 AM
Thanks! sprintf() is doing just fine
-
February 10th, 2009, 05:46 AM
Hey there!
For dynamic naming of Entities, I require a char[] to be created including an integer.
For each instance that is created, there has to be a new name. The names should be something...
-
February 10th, 2009, 04:00 AM
I had the very same problem just a few days ago... Propably every C++ learner eventually falls into this trap. I wonder how often you solved this issue, LaserLight :)
-
February 10th, 2009, 03:52 AM
Hey there!
Simple question:
private:
Vector3 destination;
...
void Entity::setDestination(const Vector3& dir) {
destination = dir;
}
-
February 9th, 2009, 07:58 AM
Little offtipic (apologies for that), but what happens if you lose the bet?
Besides if you want help I would advise you to add a lot of details to what you actually want to achive. Even if I had...
-
February 9th, 2009, 05:41 AM
Thank you Paul. This is what I would call "a Push in the right Direction" :)
Kind Regards,
DerShodan
-
February 9th, 2009, 04:47 AM
So as soon as an object of a class is created, all member variables are instantiated? It is not possible to just keep a variable name of a specific type (I was going to say "reference" here... but on...
-
February 7th, 2009, 07:53 AM
Youre right, i have Java background, and im trying hard, not to mix up things :)
However, it seems to me that
Mov_Vec mob;already creates the Object with the default constructor. This is...
-
February 6th, 2009, 12:21 PM
but i'm just declaring the name within the class... or is there already an object created?
-
February 6th, 2009, 12:06 PM
Hey there!
This issue is so imple i am ashamed to have to post it here... but I just dont find the mistake.
I have a header file that directly implements all the Methods.
The class defined in...
-
January 30th, 2009, 10:39 AM
Well guys, I must admit, that most of what you continued discussing after I left work yesterday, I dont't really understand.
But one thing about Java from my POV:
New Programmers are tougth JAVA...
-
January 28th, 2009, 12:12 PM
thanks a mill!
Best wishes from Vienna,
Christoph
-
January 28th, 2009, 11:58 AM
Yes it's a duplicate that magically apears several hours after I posted it. Sorry for being so impatient :)
Laser: thanks
Everyone else willing to help: Consider this issue answered. :)
-
January 28th, 2009, 11:51 AM
Ok... then would you please tell me how to create an object on the stack, without using "new"?
Afterall my attempt, using brackets, resultet in accidentially defining methods as it seems... (see 1....
|
Click Here to Expand Forum to Full Width
|