p.c, ops.c, v.c, adr.c, a.c
are program files in the ~sternfl/500
directory.
Each file is written in the C language and that source code
will be converted (compiled) to machine instructions in
step c below. Right now we need to get copies into your home directory
so you can work with them.
p.c
:
cp ~sternfl/500/p.c ~Copy the other files the same way.
pico fileName.c //look at the C statements gcc fileName.c //compile to make a.out a.out //see what a.out does
p.c
.
pico p.cThe program has several
printf
statements in it. Compare
the printf's with what happens when the program is run below.
gcc p.c a.outDo the same for the other files.