嵌入式Linux作业1

touch printf{1..4}.c

1.遇换行符

vim printf2.c

chmod 744 printf1.c
gcc printf1.c  ##编译
./a.out ##编译生成的二进制文件

2.程序结束

vim printf2.c

chmod 744 printf2.c
gcc printf2.c
./a.out ##两秒后出现结果

3.缓存区满

vim printf3.c

chmod 744 printf2=3.c
gcc printf3.c
./a.out

4.强制刷新

vim printf4.c

chmod 744 printf4.c
gcc printf4.c
./a.out

猜你喜欢

转载自blog.csdn.net/weixin_44214830/article/details/88316859