int main() {
    SetConsoleTitleA("Menu Test");
    cout << "Press 1 To Continue To The Main Menu\n\n";
    int lmao;
    cin >> lmao;
    cin.get(); {
        switch (lmao) {
        case 1:
            cout << "Main Menu n";
            cout << endl
                << " 1 - Main.\n"
                << " 2 - Story.\n"
                << " 4 - Help.\n"
                << " 5 - Exit.\n"
                << " Enter your choice and press return: ";
            break;
        }
    }
}
So I'm trying to make it a menu type thing in the windows console, so when ever you run the application it would open up the console and ask you to press 1 to continue which bring you to another menu. The problem is that its closing when I enter the digit 1.
 
     
     
    