Original Post
I am writing a series of basic modules, such as a logger and a timer. Each one is stored in a class and a source/header pair. I am trying to make it so that the different modules can co-exist together, or work independently, without any modification to the module source code. The problem is, for example, to use the logger module in the timer module, I would have to #include "logger.h", and thus the timer module would not compile unless logger.h is present, which I don''t want.
Any ideas how I can acomplish this?