hello_single.c
来自「unix linux 编程实践源代码」· C语言 代码 · 共 22 行
C
22 行
/* hello_single.c - a single threaded hello world program */#include <stdio.h>#define NUM 5main(){ void print_msg(char *); print_msg("hello"); print_msg("world\n");}void print_msg(char *m){ int i; for(i=0 ; i<NUM ; i++){ printf("%s", m); fflush(stdout); sleep(1); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?