|
Brian Delahunty wrote:
I use m_ for object level variables
I still use the "m_ " prefix for variables in a dialog box that are subject to dialog data exchange. Old habits die hard, I suppose.
Software Zen: delete this;
|
|
|
|
|
i assume this refer to Hungarian notation with prefixes.
|
|
|
|
|
In fact, this time, CListCtrl is not that off-topic and therefore should be avoided for this survey.
--
Affordable Windows-based CMS: www.zeta-producer.com
|
|
|
|
|
I do use prefixes sometimes but only in a few cases:
1) A leading 'm' to show module level vars
2) A prefix to show referances to controls (ie: frm, cmd, cmb, etc...)
Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
|
|
|
|
|
like i Created prefix l_ for local member of function
"I Think this Will Help"
<h5
alok gupta="" <br=""> visit me at http://www.thisisalok.tk
|
|
|
|
|
I also put s_ in front of variables declared 'static' at file scope.
I put S_ in front of functions declared static at file scope.
|
|
|
|
|
i like this idea i think i will adopt this for static variables. i find it very important to know which ones are static when i find i have to use one, but i never had a consistent way of indicating them.
zen is the art of being at one with the two'ness
|
|
|
|
|
Same thing for using g_ for global objects. Also:
ms_ for member static variables.
gs_ for global static variables.
I also do the S_ for static member methods/functions.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites
|
|
|
|