#include <stdlib.h>
int main()
{
label:;
system("start sleep.exe ");
goto label;
return 0;
}
需要解决方案:
1) Check sleep.exe is runing or not in process task list of win7.
2) If not running then run sleep.exe.
3) Else goto label: for further checking.
程序可能是这样的:
#include <stdlib.h>
int main()
{
label:;
IF process sleep.exe is runing then{goto label:}
system("start sleep.exe ");
goto label;
return 0;
}