#include <io.h>std::wstring exe_path_str =L"ylzt.exe"; //打开exe路径std::string exe_path = "ylzt.exe";bool is_exist_file = true;int count_ss = 0;do {if(_access(exe_path.c_str(),0) == -1){is_exist_file = false;}else{is_exist_file = true;}} while (is_exist_file == false);
600字范文,内容丰富有趣,生活中的好帮手!