Separate Compilation
Channel: RoseHulmanCSSE
Date: 2011-07-15

Separating programs into a header file, an implementation file, and a client file. Using #ifndef to ensure headers aren't included multiple times. Using structs and functions. Demo of creating and using a rectangle struct that could be used for computational geometry: overlap and intersection of rectangles.

Part of the Introduction to C Programming video series from Rose-Hulman Institute of Technology. Find a sample schedule, more videos, sample code, and more at the series homepage: http://www.rose-hulman.edu/class/csse/IntroToC/