Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [kmuiruri@mercury hw6]$ g++ prog813.cc
- 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
- [kmuiruri@mercury hw6]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement