2010-05-08, 12:40 AM
No... You include headers, not other C files.
Both of your first two chunks would be in a single header because it's just a single class definition. Your third chunk would include that header, serve as the main entry point into the app and just happens to do nothing but call the instantiation member of your included class before it exits.
Both of your first two chunks would be in a single header because it's just a single class definition. Your third chunk would include that header, serve as the main entry point into the app and just happens to do nothing but call the instantiation member of your included class before it exits.

