I am not using pointer for my strings. getFloorTexName() returns a string object, not a pointer. I'm going to step through my code and see if I can't see anything wrong.
EDIT- ok I know what the...
Type: Posts; User: insanoflex
I am not using pointer for my strings. getFloorTexName() returns a string object, not a pointer. I'm going to step through my code and see if I can't see anything wrong.
EDIT- ok I know what the...
I am trying to load a file using a string as a file name. This is the class that uses the string to load in the file.
class Texture
{
int m_width; //width of the image
int...
Yeah, that's what it was, I forgot to init a pointer to an object. Thanks for the help guys.
Thanks for the clarification, I used to get this error alot, helps now that I know what it means.
Ok, another question. Access violation 0X00000000 means I am trying to write to a null pointer...
I am getting a access violation error when I run my program. I am using Visual C++ 2010. The compiler is giving me this error:
First-chance exception at 0x00291709 in RobotWars.exe: 0xC0000005:...