Sleep S要大写 |
#include <stdio.h> #include <stdlib.h> #include <windows.h> int main() { int a,b,c; a=1; b=2; c=a+b; printf("%d",c); Sleep(10000);S为大写有用 return 0; } |
#include <stdio.h> #include <stdlib.h> #include <windows.h> int main() { int a,b,c; a=1; b=2; c=a+b; printf("%d",c); _sleep(10000);加一杠有用 return 0; } |
这个老是编译失败,怎么办 |
#include <stdio.h> #include <stdlib.h> #include <windows.h> int main() { int a,b,c; a=1; b=2; c=a+b; printf("%d",c); sleep(10000); return 0; } |
应该是printf |
少一个字母T |
printf 不是Prinf |