Deliverables

Open the following in separate terminals for marking:

Back to Schedule

Lab Content

Quick Links

Homework:

Go through Introduction

 

  • Preparation
  • Programming Exercise

To Prepare

Create a directory for this lab (you might have already done part of this):

  1. ensure that you are in your Introduction directorytooltip

  2. make a directory called cs115tooltip

  3. change to the directory created in step 2tooltip

  4. type the following command to get the code for this lab:
    curl https://www.labs.cs.uregina.ca/115/CODE/1-Intro.zip -O -s
     
  5. extract the files by typing:
    unzip 1-Intro.zip
    This will create a directory called 1-Intro
     
  6. change to the directory created in step 5tooltip
     
  7. Use the pwd command to show where you aretooltip
     
  8. OPTIONAL: To help you study, please take a screenshot and name it in this format LastName_Student#_Unix
./program
g++ program.cpp -o program

/home/y/you/cs115/1-Intro

where y is your username initial and you is your username

cd 1-Intro
cd cs115
mkdir cs115
pwd