My book I'm learning from hasn't told me about system pause or anything like that (But from googling a lot of people hate this)
Code
#include <iostream>
#include <string>
#include <Windows.h> // to use Sleep
using namespace std;
string name;
void main()
{
cout << "What is your name?" << endl; // Instruct user to input name
getline(cin, name); // get user's input
cout << "Good luck and enjoy " + name + "!!!" << endl; // Message including user's name
Sleep(3000); // Sleep 3000 milliseconds, AKA 3seconds
}