title: The terminal process terminated with exit code:1 Is there any way To fix it?
body: <p>I'am trying to compile a basic "Hello World" code in Visual Studio Code. But I'm new at coding, so I can't understand what does "The terminal process terminated with exit code: 1" means.</p>
  
  <p>This is my task.json:</p>
  
  <pre><code>{
      // See https://go.microsoft.com/fwlink/?LinkId=733558
      // for the documentation about the tasks.json format
      "version": "2.0.0",
      "tasks": [
          {
              "label": "echo",
              "type": "shell",
              "command": "C:/MinGW/bin/g++",
              "args": [
                  "-g", "main.cpp"
              ],
              "group": {
                  "kind": "build",
                  "isDefault": true
              }
          }
      ]
  }
  </code></pre>
  
  <p>This one is c_cpp_properties.json file:</p>
  
  <pre><code>{
      "configurations": [
          {
              "name": "Win32",
              "includePath": [
                  "${workspaceRoot}/**"
              ],
              "defines": [
                  "_DEBUG",
                  "UNICODE",
                  "_UNICODE"
              ],
              "compilerPath": "C:\\MinGW\\bin\\gcc.exe",
              "cStandard": "c11",
              "cppStandard": "c++17",
              "intelliSenseMode": "clang-x64",
              "browse": {
                  "path": [
                      "${workspaceRoot}/",
                       "C:\\MinGW\\lib\\gcc\\mingw32\\6.3.0\\include\\c++"
  
                  ],
                  "limitSymbolsToIncludedHeaders": true,
                  "databaseFilename": ""
              }
  
          }
      ],
      "version": 4
  }
  </code></pre>
  
  <p>And this is the program I'm trying to execute:</p>
  
  <pre class="lang-cpp prettyprint-override"><code>#include &lt;iostream&gt;
  using namespace std;
  int main() 
  {
      cout &lt;&lt; "Hello, World!";
      return 0;
  }
  </code></pre>
  
  <p>How can I fix this problem?</p>