title: How to compile and run cpp file using g++ in Visual Studio Code?
body: <p>I'm trying to use a task, but could only find how to compile:</p>
  
  <pre><code>{
      "version": "0.1.0", 
      "command": "g++",
      "args": ["-Wall", "${file}"],
      "showOutput": "always"
  }
  </code></pre>
  
  <p>I'd also like to print input/output to console when the program is running.</p>