BHXSpecter

Untitled

Nov 13th, 2011
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. pong.cpp:33:12: error: conflicting declaration ‘bool key [2]’
  2. pong.cpp:24:26: error: ‘key’ has a previous declaration as ‘ALLEGRO_KEYBOARD_STATE* key’
  3. pong.cpp:147:18: error: could not convert ‘* key’ from ‘ALLEGRO_KEYBOARD_STATE’ to ‘bool’
  4. pong.cpp:152:17: error: could not convert ‘*(key + 40u)’ from ‘ALLEGRO_KEYBOARD_STATE’ to ‘bool’
  5.  
  6. enum MYKEYS{KEY_W, KEY_S};
  7. bool key[2] = {false, false};
Advertisement
Add Comment
Please, Sign In to add comment