Hello World

just a simple hello world app using the atg console and input

source code
using std::ofstream;//needed for the debug log // //GLOBALS ATG::Console g_console; void debugLog(char* output) {   ofstream writeLog; writeLog.open("game:\\debug.log",ofstream::app); if (writeLog.is_open) {     writeLog.write(output,strlen(output)); writeLog.write("\n",1); }   writeLog.close; } void init(VOID) {    HRESULT hr = g_console.Create( "game:\\Media\\Fonts\\Arial_12.xpr", 0xff000000, 0xffffffff ); //create console if (FAILED (hr)) {      debugLog("creating console");// debuglog function }    g_console.Format( "*** INITIALIZING ***\n" );//simple text output to screen } VOID __cdecl main {    bool done =FALSE; init; g_console.Format( "PRESS A TO EXIT\n" ); while(!done) {      ATG::GAMEPAD* pGamepad = ATG::Input::GetMergedInput;// get input from controlers if( pGamepad->wPressedButtons & XINPUT_GAMEPAD_A) {        done = true; }    } }
 * 1) include "stdafx.h"
 * 1) include 
 * 2) include 
 * 3) include 
 * 1) include 
 * 2) include 
 * 3) include
 * 4) include
 * 5) include
 * 1) include "AtgConsole.h"//simple text output to screen
 * 2) include "AtgFont.h"
 * 3) include "AtgInput.h"//get input from controler