Brett McCoy wrote: > On Mon, Jun 8, 2009 at 2:34 PM, Sandip Tujare<[email protected]> wrote >> Declare all variable as GLOBAL VARIABLES and then compile it.. >> > That is about the worst advice for this problem. Why would you declare > everything as global? >
In C++, only friends can see your privates. However, if you use global variables, the entire WORLD can see them! -- John Gaughan http://www.jtgprogramming.org/
