系统编程文件部分

This commit is contained in:
lzy
2024-04-27 00:22:26 +08:00
parent eba0cbb4c4
commit 808ec80a62
10 changed files with 426 additions and 13 deletions

View File

@@ -0,0 +1,20 @@
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
int i;
// 这里不加\n的话什么都不输出
// 要么加\n要么fflush
printf("Before while()");
fflush(stdout);
while (1)
;
printf("After while()");
fflush(NULL);
exit(0);
}