このコードです。↓
#include "DxLib.h"
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow )
int Cr;
ChangeWindowMode( TRUE ); //ウィンドウモードに変更
Cr = GetColor( 0 , 255 , 0 ); //緑色を取得
DrawString( 250 , 240 - 16 , "Hello World", Cr); //文字列を表示
WaitKey(); // キー入力待ち
DxLib_End(); // DXライブラリ終了処理
return 0;
}