main函数末尾没有return 0;
没有CloseHandle这个函数。(要真让你关了Windows还怎么运行。。。)
没有包含头文件 stdio.h (printf函数) 应该在开头写上#include
没有包含头文件 stdlib.h (system函数) #include
求采纳!!