08/08/17 01:34:05 ewUKCOWb
>>663-664 ありがとう。
>>663 何の問題も無く、とは、DxLib.hをいじったりしないで、ってこと?
とりあえず、最低限で組んだソースを晒してみる。
------
#include "DxLib.h"
#include <vector>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){
if(DxLib_Init() == -1){
return -1;
}
SetDrawScreen(DX_SCREEN_BACK);
vector<int> x;
x.push_back(1);
while(CheckHitKey(KEY_INPUT_ESCAPE)==0 && ProcessMessage()==0){
DrawFormatString(0,0,GetColor(255,255,255),"x[0] = %d",x[0]);
ScreenFlip();
}
DxLib_End();
return (0);
}
------