改错
- #include <stdio.h>
- #include <string.h>
- #include <windows.h>
- int main()
- {
- for(unsigned int i=3;i>=0;i--)
- {
- printf("%d %u\n",i,i); //-1 4294967295
- if(i>0)
- printf(">0\n");
- Sleep(3000);
- }
- return 0;
- }
这个程序是一个无限循环。
转载于:https://blog.51cto.com/liangbing8612/681924