Hi,
what's the best order of include files?Code:
#include "currentClass.h" #include <QtStuff> #include "otherClasses.h" void currentClass::currentClass(...)
Does the order have any meaning or doesn't the order matter?
Thanks
Printable View
Hi,
what's the best order of include files?Code:
#include "currentClass.h" #include <QtStuff> #include "otherClasses.h" void currentClass::currentClass(...)
Does the order have any meaning or doesn't the order matter?
Thanks
That depends...:rolleyes:
Under Windows I had problems due to the order in the inclusion of winsock2.h and windows.h, but normally the order should not matter.
Ginsengelf