Step 2: Building your Program
To compile your assignment, use the following commands:g++ -ansi -Wall -c Dog.cpp
g++ -ansi -Wall -c Lab5.cpp
g++ -ansi -Wall -o Lab5.out Dog.o Lab5.o
g++ -ansi -Wall -c Dog.cpp
g++ -ansi -Wall -c Lab5.cpp
g++ -ansi -Wall -o Lab5.out Dog.o Lab5.o