User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 402,733 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,464 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums

Variable scope problem

Join Date: Sep 2007
Posts: 2
Reputation: redbaron is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
redbaron redbaron is offline Offline
Newbie Poster

Re: Variable scope problem

  #3  
Sep 11th, 2007
Without seeing all the other code it is difficult to see what you are doing... One quick fix would be to add the function calls within the if statements. If you posted more about these Graph and Graph1 classes we would be able to help you find a better solution...
Last edited by redbaron : Sep 11th, 2007 at 10:41 am.
Reply With Quote  
All times are GMT -4. The time now is 7:19 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC