skip to main | skip to sidebar

Hello World

For thoughts, for sharing...

Friday, September 2, 2011

static in C++

- use static inside a function (or a loop)

- use static in a class (static member, and static member function)

- use static as a global variable inside a file
Posted by Sean at 5:48 AM
Labels: C++ review 2011

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

My Links

  • Chinese Politics and Political Economy
  • Financial Times
  • WSJ
  • 谢国忠
  • Michael Pettis
  • Marc Faber
  • Man in Central

Blog Archive

  • ►  2013 (1)
    • ►  June (1)
  • ▼  2011 (18)
    • ►  October (1)
    • ▼  September (3)
      • Dynamic Memory
      • Array and Pointer
      • static in C++
    • ►  August (1)
    • ►  June (1)
    • ►  May (1)
    • ►  February (1)
    • ►  January (10)
  • ►  2010 (8)
    • ►  December (1)
    • ►  October (1)
    • ►  August (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (3)
  • ►  2009 (26)
    • ►  December (5)
    • ►  November (17)
    • ►  October (4)
  • ►  2008 (3)
    • ►  March (1)
    • ►  January (2)
  • ►  2007 (20)
    • ►  December (4)
    • ►  November (14)
    • ►  October (1)
    • ►  February (1)

Programming

  • Python Tutorial
  • C/C++ Reference

Tech Tips

  • Tech-Bits - vi

Statistics

Locations of visitors to this page