Is there a way to include all headers in all .cpp files without creating an infinite recursion error with Visual C++?
Printable View
Is there a way to include all headers in all .cpp files without creating an infinite recursion error with Visual C++?
Why on Earth would you want to include all of them? The whole reason for seperating them is that you only add what you need.
>> Why on Earth would you want to include all of them? The whole reason for seperating them is that you only add what you need.
It's a MFC app. I want to include all of them to access the classes of other dialogs. Example:
CAnotherClass ac;
ac.DoModal( );
Hmmm, maybe you mean "all the ones you are using", to include all the headers avaiable would be absolutely ridiculous!