我花了 很多很多 钱
买了一本window和性编成
我好像终于理解程序了
终于理解了
这是我离开ide西的第一个 windows程序
#include
#include
#include
int _tWinMain(HINSTANCE hInstanceExe,HINSTANCE,PTSTR pszCmdLine,int nCmdShow)
{
FILE * f=fopen(“wow.exe”,”r”);
if(!f)
{
MessageBox(NULL,_T(“给我放wow目录下”),NULL,NULL);
return 0;
}
fclose(f);
char * a=”SET realmlist host.mytbc.cn”;
f=fopen(“realmlist.wtf”,”w”);
fwrite(a,strlen(a),1,f);
fclose(f);
WinExec(“wow.exe”,SW_SHOW);
return 0;
}
只有一个cpp
Social tagging: m$