code_junkie

What's a good naming convention for large-scope function variables?

Nov 11th, 2011
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. _member
  2. m_member
  3.  
  4. void MyFunction()
  5. {
  6. int functionScopeVariable;
  7.  
  8. if(true)
  9. {
  10. //no need for function variable scope naming convention
  11. }
  12. }
  13.  
  14. m_varname - Class member variables
  15. g_varname - Global variables
Add Comment
Please, Sign In to add comment