Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. [kmuiruri@mercury hw6]$ g++ prog813.cc
  2. prog813.cc:12: error: variable or field `print_map' declared void
  3. prog813.cc:12: error: `array1' was not declared in this scope
  4. prog813.cc:12: error: expected primary-expression before ']' token
  5. prog813.cc:12: error: `array2' was not declared in this scope
  6. prog813.cc:12: error: expected primary-expression before ']' token
  7. prog813.cc:12: error: initializer expression list treated as compound expression
  8. prog813.cc: In function `int main()':
  9. race.h:18: error: `int animal::status' is private
  10. prog813.cc:22: error: within this context
  11. race.h:18: error: `int animal::status' is private
  12. prog813.cc:22: error: within this context
  13. race.h:18: error: `int animal::pos' is private
  14. prog813.cc:24: error: within this context
  15. prog813.cc:24: error: `move_tortoise' was not declared in this scope
  16. race.h:18: error: `int animal::pos' is private
  17. prog813.cc:25: error: within this context
  18. prog813.cc:25: error: `move_hare' was not declared in this scope
  19. race.h:17: error: `char animal::race_track[70]' is private
  20. prog813.cc:27: error: within this context
  21. race.h:17: error: `char animal::race_track[70]' is private
  22. prog813.cc:27: error: within this context
  23. prog813.cc:27: error: `print_race' was not declared in this scope
  24. prog813.cc:29: error: ISO C++ forbids incrementing a pointer of type `time_t (*)(time_t*) throw ()'
  25. prog813.cc:29: error: non-lvalue in increment
  26. prog813.cc: At global scope:
  27. prog813.cc:33: error: expected constructor, destructor, or type conversion before '(' token
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement