On Dos systems, you compile and link programs a little differently.
Assuming that your program is in a file named box_car.cxx
, you produce
executable code as follows:
CC -o box_car.exe box_car.cxx
The file name box_car.exe
appears, instead of box_car
,
because Dos, by convention, requires files containing executable C++
code to
have an exe
extension.