make
An alternate version of this program exists. See Alternate code below.
./prog
./run_clock
# And watch closely for 15-20 seconds
An alternate version of this entry, prog.alt.c, is provided. This alternate code uses Unicode letters.
make alt
Use prog.alt
as you would prog
above.
./run_clock.alt
# And watch closely for 15-20 seconds
You may be tempted to use a mirror. Resist the temptation! Try figuring out how the clock hands are drawn. Can you change the program to make it draw a familiar (non-mirrored) clock face? Can you add the second hand?
When using the run_clock.sh shell script, your perception of time might depend on what time it is.
Prepare a mirror!
make clock
Note: You need to recompile it each run.