cp -r ~newhall/public/cs45/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 cs45/gdb subdirectory, and copy over my gdb example programs into it:
/home/newhall/public/gdb_examplesCreate a cs45/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)