Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [kmuiruri@mercury hw6]$ g++ prog813.cc
- prog813.cc:12: error: variable or field `print_map' declared void
- prog813.cc:12: error: `array1' was not declared in this scope
- prog813.cc:12: error: expected primary-expression before ']' token
- prog813.cc:12: error: `array2' was not declared in this scope
- prog813.cc:12: error: expected primary-expression before ']' token
- prog813.cc:12: error: initializer expression list treated as compound expression
- prog813.cc: In function `int main()':
- race.h:18: error: `int animal::status' is private
- prog813.cc:22: error: within this context
- race.h:18: error: `int animal::status' is private
- prog813.cc:22: error: within this context
- race.h:18: error: `int animal::pos' is private
- prog813.cc:24: error: within this context
- prog813.cc:24: error: `move_tortoise' was not declared in this scope
- race.h:18: error: `int animal::pos' is private
- prog813.cc:25: error: within this context
- prog813.cc:25: error: `move_hare' was not declared in this scope
- race.h:17: error: `char animal::race_track[70]' is private
- prog813.cc:27: error: within this context
- race.h:17: error: `char animal::race_track[70]' is private
- prog813.cc:27: error: within this context
- prog813.cc:27: error: `print_race' was not declared in this scope
- prog813.cc:29: error: ISO C++ forbids incrementing a pointer of type `time_t (*)(time_t*) throw ()'
- prog813.cc:29: error: non-lvalue in increment
- prog813.cc: At global scope:
- prog813.cc:33: error: expected constructor, destructor, or type conversion before '(' token
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement