I have a program like this,
char name[100]; char age[12]; cout << \"Enter Name: \"; cin >> name; cout << \"Enter Age: \"; cin >> age
Just use:
std::cout << "\nPress Enter to continue"; fgetc(stdin); std::cin.ignore(std::numeric_limits::max(), '\n');
See more at http://www.cplusplus.com/reference/cstdio/fgetc/