Hey! I need some help, i want to get rid clean the output after certain thing happens, but not sure how i have searched around the internet with Google but haven't found anything. Here's the code.
void world_Builder()
{
char spawn[50];
char answerOne[50];
cout << "This is the world builder here you can \n"
<< "design where you want to spawn and the \n"
<< "vegetation and mineral occupancy of your world!\n"
<<endl;
cout << "Choose in what biome do you want to spawn in: \n"
<< "Forest\n"
<< "Plains\n"
<< "Desert (hardest one)"
<<endl;
cout << "What biome do you start in?";
cin >> spawn;
cout << "Are you sure you want to spawn in? " << spawn << endl;
cin >> answerOne;
if (answerOne == "yes");
{
cout << "Your spawn biome will be " << spawn << endl;
}
return 0;
}