📄 putch.gml
字号:
.func putch
#include <conio.h>
int putch( int c );
.ixfunc2 '&KbIo' &func
.funcend
.desc begin
The &func function writes the character specified by the argument
.arg c
to the console.
.desc end
.return begin
The &func function returns the character written.
.return end
.see begin
.im seeiocon putch
.see end
.exmp begin
#include <conio.h>
#include <stdio.h>
void main()
{
FILE *fp;
int c;
.exmp break
fp = fopen( "file", "r" );
if ( fp != NULL ) {
while( (c = fgetc( fp )) != EOF )
putch( c );
}
fclose( fp );
}
.exmp end
.class WATCOM
.system
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -