Development Environment

There are multiple ways to set up a development environment for Chemeketa CS courses. You should start with GitHub Codespaces, which runs VS Code in a web browser and already has the C++ compiler, Git, and VS Code extensions used in Chemeketa CS courses. (Step 1 below.)

You can move the same projects to your own computer later (Step 4).

Set up a development environment

  1. Create a project in GitHub Codespaces.
  2. Saving and Managing work in Codespaces: edit, build, commit, push, and submit your work.
  3. Install the tools on your computer when your course asks you to begin working locally.
  4. Clone your projects to your computer so you can continue the work you began in Codespaces.
  5. On Windows, install WSL when you need Linux tools such as Valgrind.

Mac and Linux students do not need WSL.

Use the correct compiler

EnvironmentC++ compilerTypical use
GitHub CodespacesGCCStart here; nothing to install
WindowsMinGW GCCNative local development
macOSHomebrew GCCLocal development
LinuxGCCLocal development
Windows Subsystem for LinuxGCCLinux tools on Windows

Native Windows and WSL use separate compilers. Installing a compiler in one environment does not install it in the other.