#include <iostream> #include <Windows.h> using namespace std; int function() { return 0; } int main() { SetTimer(NULL, 0, 0, &function);//错误 system("pause"); return 0; }
请问如何使function函数循环
While(1)
for(;;)
这些都是可以实现的。。