title: Can't compile code "launch: program <program_path> does not exist "
body: <p>I have simple console application in C++ that I succeed to compile with Visual Studio.  </p>
  
  <p>I wanted to try Visual Studio Code so I copied the directory to the computer with Visual Studio Code installed.<br>
  I installed the C++ extension:<br>
  <a href="https://i.stack.imgur.com/fVvsS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fVvsS.png" alt="enter image description here"></a>  </p>
  
  <p>I put break point at the beginning and press <kbd>F5</kbd> and I received an error:  </p>
  
  <blockquote>
    <p>launch: program 'enter program name, for example
    c:\Users\student1\Desktop\ConsoleApp\a.exe' does not exist.  </p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/uJlT4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/uJlT4.png" alt="enter image description here"></a></p>
  
  <p>Of course the the program does not exist, I am compiling it in order for the code to become the program.  </p>
  
  <p>I followed the instruction and I went to the <code>launch.json</code> file:  </p>
  
  <p><a href="https://i.stack.imgur.com/RfY6t.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RfY6t.png" alt="enter image description here"></a></p>
  
  <p>I changed the <code>"program"</code> value to:  <code>"${workspaceRoot}/a.exe"</code> instead of <code>"enter program name, for example ${workspaceRoot}/a.exe"</code>.  </p>
  
  <p>But the same problem still exist.<br>
  Any idea ?  </p>