tags:

views:

106

answers:

2

I found the member variable name of m_rgNames in some source code. According to the naming convention, such as m_iNumber typed as int, rg could represent a type name. If this is case, what type did rg represent? Or else what's the meaning of rg in this variable name?

+2  A: 

It's usually short for range, which means the variable is a list/array

Michael Mrozek
+2  A: 

It stands for array or range. The author uses the Hungarian notation.

Lars
I would precise that it is the (crappy, imo) `System Hungarian Notation`, the `Apps Hungarian Notation` as originally designed by *Charles Simonyi* was much better (I think)... even though it's mostly useless with strong typing!
Matthieu M.