Advertisement
Guest User

Untitled

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