Rank: Administration
Groups: Administration
Joined: 11/22/2008(UTC) Posts: 179
|
1. in the header files try to use forward declaration instead of includes, like: class A; 2. in the header file include standard libraries first, like #include <string.h> 3. in the cpp file repeat the includes in the header and add more as needed. 4. always use #ifndef B #define B
at the beginning of the header and #endif at the end of the header.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.