1. You will need some code to test out these instructions with. If you grab the CS260 examples code, it has some projects in Week01 you can use to do so with. From a command prompt you can do this to grab a copy of the CS260 code:

    git clone
  2. If you are using Linux or Mac, you should be good to go. If you are using Windows you have two options:

    A. Run everything inside of Windows Subsystem for Linux. This is preferable, especially if you also will be using Valgrind in WSL.

    B. Use git bash to execute the commands. It is a command prompt installed with git that lets you use Linux syntax commands to execute windows programs. To do this you need to:

    1. Make sure g++ is on your path. (

    2. Install git. You will want to use the git bash command prompt to execute these commands (as opposed to PowerShell or CMD)

    3. We need to make git bash run mingw32-make any time you try to run make. Open up git bash and type the following (you will only do this once per computer):

      echo "alias make=\"mingw32-make\"" >> .bashrc

      Then close git bash and restart it. If you get a message about the new .bashrc file, don't worry about it. Type make to make sure it worked—you should get an error specifying no target or makefile specified.