myio.h
来自「比较简陋的数据库应用,唯一能看的就是对ODBC的封装...」· C头文件 代码 · 共 33 行
H
33 行
#ifndef _MYIO_H
#define _MYIO_H
#include <iostream>
#include <conio.h>
#include "String.h"
#include "Help.h"
#define myend '\r'
class myIO
{
public:
myIO();
~myIO();
String getIn(int type = 1);
void putOut(String str);
void SetPreIn(String aPre);
void SetPreOut(String aPre);
void SetCode(char ch);
friend myIO& operator>>(myIO& io, String& str);
friend myIO& operator<<(myIO& io, const String& str);
private:
char passcode;
String prein;
String preout;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?