📄 rlnumd.c
字号:
#include <stdio.h>void main( void ){ int cnt = 0; char line[ 1024 ]; /* * We have to explicitly set line buffering since the stdio * routines will not see the socket as a terminal device. */ setvbuf( stdout, NULL, _IOLBF, 0 ); while ( fgets( line, sizeof( line ), stdin ) != NULL ) printf( "%3i: %s", ++cnt, line );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -