Previous Lecture lect06 Slides Next Lecture

Code from lecture

https://github.com/ucsb-cs16-s18-mirza/cs16-f18-lectures/tree/master/lec-06

Topics

Intro to lab02 - ASCII Art

Under the hood of program compilation and execution

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