#include?<windows.h>
#include?<iostream>
#include?<string.h>
#include?<stdlib.h>
#include?<tlhelp32.h>?//?聲明快照函數的頭文件
using?namespace?std;
//#pragma?comment(?linker,?"/subsystem:\"windows\"?/entry:\"mainCRTStartup\""?)?
int?main(int?argc,?char*?argv[])
{
char?join[]="\""; char?begin[128];? ::GetCurrentDirectory(100,begin);? char?end[]="\\Maxthon.exe"; strcat(begin,end); strcat(begin,join); strcat(join,begin); ::ShellExecute(NULL,"open",join,?NULL,NULL,SW_SHOW?);? printf("%s\n",join);? return?0;}?
右鍵點工程名,選設置,然後選c/c++屬性頁,再選catagory選單中選?precompiled?header?,將選項置成no?use?或者autometic