Can you please help me with following problem? I have a file log.cpp in which is included by different files in the project. I need to declare define in one of those files, which has to affect log.cpp, without actual change in log.cpp or log.h. How can I do this? Solution with pre-compiled header is not acceptable.
And one more question how can I define a static function?
I mean if I have CClass::Func
called in my code, how can I define it to redirect to something else?