Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pong.cpp:33:12: error: conflicting declaration ‘bool key [2]’
- pong.cpp:24:26: error: ‘key’ has a previous declaration as ‘ALLEGRO_KEYBOARD_STATE* key’
- pong.cpp:147:18: error: could not convert ‘* key’ from ‘ALLEGRO_KEYBOARD_STATE’ to ‘bool’
- pong.cpp:152:17: error: could not convert ‘*(key + 40u)’ from ‘ALLEGRO_KEYBOARD_STATE’ to ‘bool’
- enum MYKEYS{KEY_W, KEY_S};
- bool key[2] = {false, false};
Advertisement
Add Comment
Please, Sign In to add comment