Previous Lecture Lecture 6 Next Lecture

Lecture 6, Thu 01/23

Test Driven Development + lab02 practice

Test driven development

Lesson plan

g++ -c shapes.cpp

The above command creates the object file shapes.o

We will then look at how to link all the object files into an executable using the -o option as shown below

g++ file1.o file2.o file3.o -o finalexecuatble