Lab 1: Basics
Contents
Description
In this first lab, you will be getting familiar with the command line and basic C++. If you have brought your laptop, you may also use this time to get it set up to edit and compile C++ program.
(Back to top)Tasks
Complete the following:
- Read about the command line interface. You should be able to show the professor how to do the following in Terminal on the lab Macs without looking at any cheat sheets:
- create a new directory
- navigate to that directory
- list the contents of the directory
- Read about basic C++ and get the simple
helloWorld.cpp
program up and running. Show this to the professor. - If you want, work on getting your laptop set up to edit and compile C++ programs. Read this page for instructions.