/* In this game, there will be a ninja.
He will kill the dark evil Ninja. He will go to
New York, L.A, or Sanfrisco to search for the evil Ninja.
When he goes to the correct one, he will battle the evil Ninja.
*/
#include <iostream>
#include <string>
#include <fstream>
usingnamespace std;
int main()
{
string sPlayAgain;
string *pPlayAgain = &sPlayAgain;
do
{
string sPlayAgain;
string *pPlayAgain = &sPlayAgain;
cout << "\nWould you like to play again? Please type Yes or No\n";
cin >> sPlayAgain;
}while(strcmp(*pPlayAgain,"Yes")==0);
return 0;
}
It says strcmp was not declared?? But I added <string>.