#pragma warning(disable:4996) #include <stdio.h> #include <windows.h> int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR pCmdLine, int showCmd) { char myName[] = {"YamadaKouji"}; int myNumber = 96131028; FILE *fp; fp = fopen("test.dat","w"); fprintf(fp,"%s\n",myName); fprintf(fp,"%d\n",myNumber); fclose(fp); MessageBox(NULL , TEXT("Kitty on your lap"), TEXT("メッセージボックス"), MB_OK); }
Excel値だけを消す
コメント