Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- So i have something like
- SDL_Event a;
- Inputhandle b;
- b.handleinput(&a);
- then handleinput tries to access type
- Inputhandle::handleinput(SDL_Event *a)
- if(*a->type==SDL_KEYDOWN)
- etc etc
- I get error at the if statement "invalid type arguement 'unary *'"
- btw 'a' isnt null i just wrote it like that here
Add Comment
Please, Sign In to add comment