Avoiding global variables

Discussion in 'C++' started by FpaFtw, Sep 3, 2010.

  1. FpaFtw

    FpaFtw New Member

    Joined:
    Sep 3, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I read that it's a good idea to keep the number of globals in your project as low as possible.
    now what would be good ways to avoid global variables?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice