Original Post
Heres my source code: #include <iostream> #include <string> using namespace std; int main() { string name; int ID; int age; int favgame; cout << "Enter your name "; cin >> name; cout << "Enter your ID number "; cin >> ID; cout << "Enter your age "; cin >> age; cout << "Enter your favorite game "; cin >> favgame; cout << "Hello " << name << " or should I say " << ID << endl; cout << "I like the age of " << age << " and I like the game " << favgame << endl; return 0; } problem is, when I run it, all of the input works fine, but after I press enter after the favorite game line, it closes itself out, and wont output...