KeSh
05-16-2004, 02:28 AM
I do not know much about C++ yet...But i don't really know some lines of code that appear in the beginning of the tutorials in nehe.gamedev.net...
//////////////////////////////////
HWND g_hWnd;
// This is the handle for the window
RECT g_rRect;
// This holds the window dimensions
HDC g_hDC;
// General HDC - (handle to device context)
HGLRC g_hRC;
// General OpenGL_DC - Our Rendering Context for OpenGL
HINSTANCE g_hInstance;
// This holds the global hInstance for UnregisterClass() in DeInit()
////////////////////////////////////////////
What the hell is the H***'s and RECT types? and which library contains them?
Thanks!
//////////////////////////////////
HWND g_hWnd;
// This is the handle for the window
RECT g_rRect;
// This holds the window dimensions
HDC g_hDC;
// General HDC - (handle to device context)
HGLRC g_hRC;
// General OpenGL_DC - Our Rendering Context for OpenGL
HINSTANCE g_hInstance;
// This holds the global hInstance for UnregisterClass() in DeInit()
////////////////////////////////////////////
What the hell is the H***'s and RECT types? and which library contains them?
Thanks!