It's strange cuz when i ran the code in online compilers, it works totally fine.
string questionOneA="Do you like text adventure games?";
for (char(questionOneA): questionOneA)
//error is in above line
{
this_thread::sleep_for(chrono::milliseconds(60));
cout << questionOneA << flush;
}
Aucun commentaire:
Enregistrer un commentaire