Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. [kmuiruri@mercury hw6]$ g++ prog813.cc
  2. prog813.cc: In function `int main()':
  3. race.h:18: error: `int animal::status' is private
  4. prog813.cc:22: error: within this context
  5. race.h:18: error: `int animal::status' is private
  6. prog813.cc:22: error: within this context
  7. race.h:18: error: `int animal::pos' is private
  8. prog813.cc:24: error: within this context
  9. prog813.cc:24: error: `move_tortoise' was not declared in this scope
  10. race.h:18: error: `int animal::pos' is private
  11. prog813.cc:25: error: within this context
  12. prog813.cc:25: error: `move_hare' was not declared in this scope
  13. [kmuiruri@mercury hw6]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement