c++ prefixes

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Jookia
Posts: 170
Joined: Wed Nov 19, 2008 1:11 am

c++ prefixes

Post by Jookia »

I'm wondering right now, what does things like p and C and I and stuff go infront of names of classes/files/variables. I don't exactly know what it's called so I can't google it.
seventhtear
Posts: 11
Joined: Sat May 23, 2009 11:39 am
Location: Poland

Post by seventhtear »

That is Hungarian Notation.
"C" is used for class types
"p" for pointers
"I" for interfaces
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

As far as I know those notations are not used anymore according to the standard.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

MasterGod wrote:As far as I know those notations are not used anymore according to the standard.
What standard are you talking about? Hungarian notation is just a tool that some programmers use to make their code more descriptive.

Travis
Post Reply