Can someone tell me whats wrong?
Can you post the error? I'm not 100% sure, but I think you might be declaring your strongs wrong..lemme check.
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.
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
Popular Topics
Advertisement