CSCI 200 - Fall 2024
Foundational Programming Concepts & Design

Lab 0 - VS Code Setup

This lab is due by Wednesday, August 21, 2024, Before Class.
As with all labs you may, and are encouraged, to pair program a solution to this lab. If you choose to pair program a solution, be sure that you individually understand how to generate the correct solution.


VS Code Setup


First, why is this lab zero instead of lab one? Because computer scientists always start with zero! (This will become more evident later in the semester ... there's a reason why we do it!)

Before you begin working on any programming project, you must set up some kind of "workspace" on your computer. Software engineers call this "setting up your development environment". For this class, you will need only two things: a compiler and a text editor or IDE. Our compiler will be g++ and our editor will be VS Code.

You may use any of the campus lab machines or you may setup your personal machine. If you plan to primarily use the campus lab machines, then skip to Part II. Otherwise, to continue with your personal machine go to Part I.


Part I - Setup your Personal Computer (Recommended)



If you want to set up your own computer, then you will need to make sure you have a compiler installed. The compiler will depend on your operating system:

Then, regardless of OS, install VS Code. Be sure to choose the version that matches your system.

Regardless of OS, once VS Code is installed and opened you will want to install the C/C++ Extension Pack from the Extension Marketplace (see the left hand menu). This extension will install Intellisense and other helpful tools. This will help with syntax coloring, code completion, and other realtime editing tools.


Part II - Test Your Setup


We will fully test your setup soon, with Lab1A. To verify everything is setup at this point, open VS Code. From the top menu, select Terminal > New Terminal. In the bottom window that opens, type g++ --version and hit enter. You should see a copyright notice and version information printed to the terminal. If there is a message saying g++ does not exist, then there was an error with setup. Verify the steps above were completed. If additional help is needed, then please post online.

To complete this lab, go to Canvas > Assignments and complete the Lab0 Survey. Even if you have had trouble getting VS Code fully set up, report your progress to Canvas.


This lab is due by Wednesday, August 21, 2024, Before Class.
As with all labs you may, and are encouraged, to pair program a solution to this lab. If you choose to pair program a solution, be sure that you individually understand how to generate the correct solution.