![]() |
![]() |
![]() |
![]() |
Use an editor to create
the file hello.cpp
containing the source code
for the program.
|
Use a compiler (g++ in this case)
to translate the human-readable C++ source code
into machine-readable object code
hello.o.
|
Use a linker (g++ does this as well)
to combine our object file hello.o
with other object files
(like those that take care of input/output)
to create the executable program
hello.
|
Use the OS to initiate execution of
(i.e. start te fetch-decode-execute cycle on)
the program hello.
|