I read in one of my last threads that for example pNode is commonly used to denote a pointer (the p part).
Is "n" used for anything, reason i'm asking is i've been given a piece of code to develop. It compiles and everything so its not fundamental to it working i just wondered if it meant anything.
I use n to to represent an iNteger. c = class, m_ = class member
There's a term for this type of organization but I don't remember. Someone'll get on it.
thanks makes sense, i was just wondering as its used loads in the code i got lol
You may want to read up on hungarian notation which is one form of prefixing variables. It's the most common, but not the only convention.
It is meaningful only in that people give it meaning... That is, the compiler doesn't care about it, it's just a prefixing convention used as a reminder to the programmer who has to update it later on.
Originally Posted by r_james14
Think about the code you write today. Will you still be able to follow it 5 years from now?