I get an error and I don't know how to fix it.
Here's the code that I get errors in.
bool collision(SDL_Rect* pal, SDL_Rect* sprite)
{
if(sprite->y= > pal->y + pal->h)
return 0;
return 1;
}
And this is the error:
|12|error: expected primary-expression before '>' token|
Thanks for any help!

New Topic/Question
Reply




MultiQuote





|