C++ file on visual studio is missing or invalid
<p>I am using Ubuntu currently and trying to launch a c++ file through visual studio (code). The code for the file itself is very simple (just a hello world program):</p>

<pre><code>#include&lt;iostream&gt;
using namespace std;

int main()
{
    cout &lt;&lt; "Hello cd World!";
    return 0;
}
</code></pre>

<p>When launching the code through just pressing f5 it says the file quote: "is missing or invalid." It links me to the launch.json file which tells me to change the path. After doing so it tells me the same thing of: "missing or invalid file" but before it states the path to the file: '/home/taka/VSCode/Hello_World' which is correct. I have tried adding a .cpp to the end but it does not find the file that is there. Below is going to be the code of the json file which it asks to edit.</p>

<pre><code>{
"version": "0.2.0",
"configurations": [
    {
        "name": "C++ Launch (GDB)",
        "type": "cppdbg",
        "request": "launch",
        "targetArchitecture": "x64",
        "program": "${workspaceRoot}/Hello_World",
        "args": [],
        "stopAtEntry": false,
        "cwd": "${workspaceRoot}",
        "environment": [],
        "externalConsole": true,
        "linux": {
            "MIMode": "gdb"
        },
        "osx": {
            "MIMode": "lldb"
        },
        "windows": {
            "MIMode": "gdb"
        }
    },
    {
        "name": "C++ Attach (GDB)",
        "type": "cppdbg",
        "request": "launch",
        "targetArchitecture": "x64",
        "program": "${workspaceRoot}/Hello_World",
        "args": [],
        "stopAtEntry": false,
        "cwd": "${workspaceRoot}",
        "environment": [],
        "processId": "${command.pickProcess}",
        "externalConsole": false,
        "linux": {
            "MIMode": "gdb"
        },
        "osx": {
            "MIMode": "lldb"
        },
        "windows": {
            "MIMode": "gdb"
        }
    }
]
</code></pre>

<p>}</p>