writeup
.html
,
.pdf
Makefile
-- First, make a copy of this Makefile into your lab 5 directory; then type
"make array_math_test" to test your array_math program; then type "make
read_strings" to test your read_strings program. In order for all this to
work, your compiled programs must be named "array_math" and "read_strings", NOT
a.out or some other name
Sample input data files for array_math and read_strings, used in the Makefile
test runs:
-
For array_math:
-
For read_strings:
-
writeup.html
-- 127 lines total, all lines < 80 chars each
-
6x80.dat
-- 6 lines, exactly 80 chars per line
-
1010x80.dat
-- 1010 lines, all lines <= 80 chars
-
1010x81.dat
-- 1010 lines, with couple lines > 80 chars
Sample output files, that correspond to the preceding input files:
-
For array_math:
-
For read_strings:
NOTE: Since this is a lab, you don't need to get
your output formatted exactly like these examples. The examples are here to
give you an idea of what your output is supposed to look like.
index
|
lectures
|
handouts
|
programs
|
labs
|
examples
|
solutions
|
grades