title: CPP console, when closing, open another cpp file
body: <p>I am trying to make a text based console game, using C++ and Window's command prompt. Visual studio makes my life easy, but I cannot find a way to go from the Start Menu.cpp to the Level 1.cpp file, once the first file closes</p>
  
  <pre><code>#include "Header.h"
  #include "stdafx.h"
  #include "iostream"
  #include "string"
  using namespace std;
  using std::cin;
  
  int main()
  {
      //intro menu
          std::string name;
          cout &lt;&lt; "What is your name?" &lt;&lt; endl;
          cin &gt;&gt; name;
          cin.ignore();
          cout &lt;&lt; "\nHello " &lt;&lt; name &lt;&lt; ", ";
          cout &lt;&lt; "welcome to the AdventureBox!" &lt;&lt; endl;
          system("pause");
  
          cin.ignore();
          //open level 1 file
  }
  </code></pre>
  
  <p>I know I should use return 0; but that doesn't seem to work with entering your name. So that's just the main menu, but I want it to open the next file</p>
  
  <p>I there something I am supposed to do in the header?</p>
  
  <pre><code>#pragma once
  #include "iostream"
  #include "string"
  using namespace std;
  string name;
  </code></pre>