Archived

This topic is now archived and is closed to further replies.

A SIMPLE question

This topic is 5149 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone, I am a new hand of DirectX. I see the pointer of type LPDIRECT3D9 in the Tutorial 1 is named g_pD3D. What does the prefix g_p mean? Maybe the p means "point"? and the g?

Share this post


Link to post
Share on other sites
Those letters are part of Hungarian Notation; there are defined as follows:

g_ is global.
p is a pointer.

_______________________________________
Understanding is a three edged sword...


[edited by - Sean Doherty on November 11, 2003 9:03:42 AM]

Share this post


Link to post
Share on other sites