uncertainty in programming

Started by
0 comments, last by Dave Hunt 18 years, 11 months ago
today I change My program a .h file:CGlobal.h add some .h into and add some extern variable into it. but something happen. some .cpp compilation unit working before don't work now.when I exchange position of two.h file/util.h and the CGlobal.h in some .cpp file ,then work. so how can I prevent this happen again.
Advertisement
Have a look at Organizing Code Files in C and C++.

This topic is closed to new replies.

Advertisement