Previous Lecture Lecture 5 Next Lecture

Lecture 5, Mon 04/13

Makefiles, Data Representation

Lecture Video

https://youtu.be/JpUkfHMAnp4

Super Sweet Makefile Tutorial

https://docs.google.com/document/d/1Kf8RbENqHVzGIEJnDQVKBbS_zoOeJHh5YzYTHqJfuRA/edit?usp=sharing

Made by Jacqui Mai, Professor K, and me.

Topics

Data and number representation

Test driven development

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