Advertisement
Guest User

Untitled

a guest
May 25th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. class GamePlayer {
  2. private:
  3. enum { NUM_TURNS = 5 }; // "the enum hack" — makes
  4. // NUM_TURNS a symbolic name
  5. // for 5
  6.  
  7. int scores[NUM_TURNS]; // fine
  8.  
  9. ...
  10.  
  11. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement