This topic is now archived and is closed to further replies.

digitalfreak's problem

Recommended Posts

This isn''t a problem, simply logical behavior. VC++ will go to the variable with broadest scope first.

The real problem here is that your variable names are poor. Name your global int something real (or better, get rid of it), and name your function parameter properly. Don''t expect VC++ to conform to your poor style habits.

Share this post

Link to post
Share on other sites