C++ Assignment: Setting up a Programming Environment

Thu Jan 30 2025
Updated: Mon Jul 14 2025
Facebook share linkTwitter/X share linkLinkedIn share linkReddit share linkReddit share link

In this assignment you will set up an programming environment to write and test programs in C++. The environment will involve setting up Visual Studio Code, as well as setting up a compiler on Mac/Linux or the WSL/Ubuntu terminal/compiler on Windows.

Assignment

For this assignment:

  1. Go to https://blog.alexstaubin.com/post/environment-setup and complete the VSC setup for either Mac or PC. Follow the instructions in the tutorial for whatever system you are on to install VSC and all dependencies up to and including running the hello world sample program.

  2. Take a screenshot (command+shift+4 on Mac/Snipping Tool on PC) of your VSC session (including running the sample program given in the tutorial and displaying the sample output).

  3. Submit the screenshot on the class Canvas site.

Example VSC Session (On Mac)

Submission Instructions

  1. Save: Save your code as vsc.png or vsc.jpg. Do not ignore this step or save your file(s) with different names.

  2. Submit: Your program source code must be submitted via Canvas as a properly named file prior to the deadline to receive full credit.