Command Line Development

Open Terminal > New Terminal in VS Code to run the compiler and other development tools directly. These commands work in Codespaces, native Windows development, macOS, Linux, and WSL, with the platform differences noted below.

  1. Learn to move between folders and work with paths in Terminal Basics.
  2. Build and run programs with the commands in Compile and Run C++.
  3. Automate compiler commands with the Makefile Tutorial.
  4. Provide program input from a file with Input Redirection.