DX11Starter/Game.cpp
// --------------------------------------------------------
// Constructor
//
// DXCore (base class) constructor will set up underlying fields.
// DirectX itself, and our window, are not ready yet!
//
// hInstance - the application's OS-level handle (unique ID)
// --------------------------------------------------------
Constructor
DXCore (base class) constructor will set up underlying fields.
DirectX itself, and our window, are not ready yet!

the application's OS-level handle (unique ID)
Constructor DXCore ( base class ) constructor will set up underlying fields . DirectX itself and our window are not ready yet! the application ' s OS - level handle ( unique ID )
Game::Game(HINSTANCE hInstance)
	: DXCore( 
		hInstance,		   
		"DirectX Game",	   
		1280,			   
		720,			   
		true)			   
{
	vertexShader = 0;
	pixelShader = 0;
	mouseDragging = false;
	camera = new Camera((float)width / height);
#if defined(DEBUG) || defined(_DEBUG)
	CreateConsoleWindow(500, 120, 32, 120);
	printf("Console window created successfully.  Feel free to printf() here.");
#endif
}
Game :: Game ( HINSTANCE hInstance ) : DXCore ( hInstance , " " , 1280 , 720 , true ) { vertexShader = 0 ; pixelShader = 0 ; mouseDragging = false ; camera = new Camera ( ( float ) width / height ) ; #if defined ( DEBUG ) || defined ( _DEBUG ) CreateConsoleWindow ( 500 , 120 , 32 , 120 ) ; printf ( " " ) ; #endif }
Constructor
DXCore (base class) constructor will set up underlying fields.
Constructor DXCore ( base class ) constructor will set up underlying fields .
// The application's handle // Text for the window's title bar // Width of the window's client area // Height of the window's client area // Show extra stats (fps) in title bar? // Initialize fields // Do we want a console window?  Probably only in debug mode