On Unix systems, one representative way to initiate compilation and
linking is as follows, assuming that your program is in a file named
box_car.cxx
:
CC -o box_car box_car.cxx
Such an instruction to the operating system has several parts:
CC
means use a program that includes the C++ compiler and linker.
box_car.cxx
means work on the source-code file named
box_car.cxx
.
-o box_car
means put
the executable code in a file
named box_car
.