Is it possible to write code to make my outputted text formatted to the middle of the screen? I have tried a lot, but nothing has worked. Here is what I have thought of so far.
cout.setf (ios::middle);
That was an error. Also I tried
setw(10);//etc.
But I'm kind of new to using the setw command so I don't know how to use it properly.
UPDATE:
//The Game of 4 Seasons
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
int main()
{
cout << "Welcome to this game\n\n\n";
system ("pause");
system ("cls");
cout << "CAUTION!\n\n";
cout << "The adventure you are about to embark contains high levels of:\n";
cout << "Fun\n";
cout << "Adventure\n";
cout << "Excitement\n\n\n";
cout << "If you have a record of buzz killing or anything similar, \nthen this game is NOT for you.\n\n\n\n";
system ("pause");
return 0;
}