I created a "Character" class, and a local pointer object for the class:
Code:
...
Character * Sebba = new Character;
...
Now: in another function, how would I re-declare this, so that it'd work? I tried:
Code:
...
Character * Sebba;
...
but that doesn't work. It compiles, but doesn't run properly. Infact, I get a "Windows Error Report" Dialouge Box when the particular function is executed. This has nothing to do with any other part of the function except for the
"Character * Sebba;"
part of it.
Can someone help me fix this problem?