Jan 8, 2012 at 10:43pm UTC
What is the line with the error?
Jan 8, 2012 at 11:05pm UTC
first section of code, first line apply_surface function
Jan 8, 2012 at 11:10pm UTC
Is image_choice
and screen
of type SDL_Surface*
? Is slot
of type SDL_Rect*
?
Jan 9, 2012 at 12:17am UTC
slot is a an array i meant to put &slot[luckySeven] but even when i do put that it doesn't work
Jan 9, 2012 at 12:31am UTC
More importantly, what is the full error message?
Jan 9, 2012 at 12:34am UTC
C:\Users\owner\Desktop\SlotMachine\SlotMachine.cpp|87|error: too few arguments to function 'void apply_surface(int, int, SDL_Surface*, SDL_Surface*, SDL_Rect*)'|
Jan 9, 2012 at 12:42am UTC
The important line is the one after that ("at this point in file").
And what does the declaration of apply_surface look like (if there is one)?
Jan 9, 2012 at 12:45am UTC
Oh man, Thanks !, I had a random applysurface in it