OK... first off, why do you use two different sets of constants for the maximum number of rows and columns?
Anyway, to fix the errors:
- You need using namespace std; after the #includes (2).
- private is lowercase (16).
- I believe you want a capital B (22).
- Your do-while loops should be structured like this:
do {
...
...
} while (blah); You haven't closed the brackets after while or used braces.
Enjoy.