Original Post
I work on quite a few fairly large programs (nothing huge, but about 30 different files and 20 different classes.) Well I use all these classes throughout the entire program, among other variables and things like that which need to be accessed from everywhere. I have a habit right now of the format below, which sucks. Basically it works perfectly but every time I change ANY header file, the entire program needs to be recompiled. What is the 'proper' way to go about this? I was thinking that just have every single source include all class headers which wouldn't need to recompile the whole program, but it's ugly.
// Class Source...
#include "ClassHeader.h"
// Class Header...
#include "Program.h"
// Program Header
// Include all Windows SDK's
// Include all class headers