read-names.c
-- simple example illustrating malloc for strings, and calloc for an array of
strings
read-names.c
-- version of read-names.c that uses static instead of dynamic allocation
planet.h
-- header file for type Planet, and associated functions; this version uses
pointers to structs; compare it to
../week8/planet.h
planet.c
-- implementation of planet.h; this version uses pointers to structs ; compare
it to
../week8/planet.c
solar-system.h
-- header file for type Planet, and associated functions; uses pointers;
compare it to
../week8/solar-system.h
solar-system.c
-- implementation of solar-system.h; uses pointers; compare it to
../week8/solar-system.c
planet-test.c
-- test program for planet.{h,c}; users pointers; compare to
../week8/planet-test.c
solar-system-test.c
-- implementation of solar-system.{h,c}; users pointers; compare to
../week8/solar-system-test.c