Original Post
Hi all. I'm making a squirrel game with SDL and I'm having some weird compile errors. FYI: SDL, VS.NET I have a squirrel class like this: #define SPEED 5 Squirrel::Squirrel(SDL_Surface *img ) { health = 100; srand(SDL_GetTicks()); position.x = rand()%640; position.y = 300; position.dx = 0; position.dy = 0; HoldingAcorn = false; currImg = img; } Squirrel::~SquirrelGame() { } So then in the main program I do this: SDL_Surface *SquirrelWalkLeft = IMG_Load("SquirrelWalkLeft.png"); Squirrel sq = new Squirrel(SquirrelWalkLeft); and I get: c:\Documents and Settings\tjrr3d\Desktop\My Toy\sqirrrelgame.cpp(45): error C2440: 'initializing' : cannot convert from 'Squirrel *' to 'Squirrel' No constructor could take the source type, or constructor overload resolution was ambiguous c:\Documents and Settings\tjrr3d\Desktop\My Toy\squirrel.cpp(18): error C2523: 'Squirrel::~SquirrelGame' : destructor tag mismatch This should be correct, right?