Thomson
Thomson

Reputation: 21625

What does rg mean in a member variable named m_rgNames?

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?

Upvotes: 2

Views: 601

Answers (2)

Lars
Lars

Reputation: 1466

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

Upvotes: 3

Michael Mrozek
Michael Mrozek

Reputation: 175375

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

Upvotes: 2

Related Questions