Can someone tell me whats wrong?

Started by
11 comments, last by Oni Sephiroth 18 years, 1 month ago
Can you post the error? I'm not 100% sure, but I think you might be declaring your strongs wrong..lemme check.
Advertisement
i did lolz,

`}' at end of input

it claims its the last "}" thats the problem. Line 60.
if (move == "t") {
cout << "" << endl;
cout << "You moved to the Tavern" <<endl;
cout << "" <<endl;
cout << "--------------------------- " << endl;
cout << "The Blue Mermaid is a rough establishment, its wooden floor" <<endl;
cout << "creaks as you enter but no one looks up." <<endl;
cout << "--------------------------- " << endl;
cout << "" <<endl;
cout << "What would you like to do?" << endl;
cout << "s = Speak with the Barkeep" <<endl;
cout << "t = Go to a table" <<endl;
cout << "" << endl;
cout << "Move: ";
cin >> move;



you forgot to close your if statement. Add a "}" to the end of it. I'm not sure if thats it tho..still a bit of a C++ newb myself.

This topic is closed to new replies.

Advertisement