cp -r ~newhall/public/cs87/lab1 .We will take a look at this code, which shows some examples of where C differs from C++, and an example of dividing a C program into multiple modules (.c files), using .h files, using static and extern definitions, and writing and using a makefile to build an executable.
Create a cs87/gdb subdirectory, and copy over my gdb example programs into it:
/home/newhall/public/gdb_examplesCreate a cs87/valgrind subdirectory and copy over my valgrind example programs into it:
/home/newhall/public/purify_valgrind_examples
(the above links are also available off my Unix and CS help pages)