fileio.hh

来自「sdcc是为51等小型嵌入式cpu设计的c语言编译器支持数种不同类型的cpu」· HH 代码 · 共 23 行

HH
23
字号
/****************************************************************************** * to emulate the serial input and output of an 8051 controller               * * fileio.hh - file input and output                                          * ******************************************************************************/#include "config.h"class FileIO{	public:		FileIO();		FileIO(char *infile, char *outfile);		~FileIO();		int SendByte(char b);		int RecvByte(char *b);		int SendStr(char *str);		int RecvStr(char *str);	private:		int fdin;		int fdout;};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?