A SIMPLE question
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?
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]
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]
More info here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvsgen/html/HungaNotat.asp
--
Simon O'Connor
3D Game Programmer &
Microsoft DirectX MVP
[edited by - s1ca on November 11, 2003 1:23:46 PM]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvsgen/html/HungaNotat.asp
--
Simon O'Connor
3D Game Programmer &
Microsoft DirectX MVP
[edited by - s1ca on November 11, 2003 1:23:46 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement