Sign in to follow this  
derek7

uncertainty in programming

Recommended Posts

derek7    100
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this