Read_ch.h
上传用户:hyb6888
上传日期:2016-01-24
资源大小:5186k
文件大小:1k
- // loadmylib.h: interface for the loadmylib class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(defRead_ch)
- #define defRead_ch
- #include "windows.h"
- #include "ChLibarry.h"
- #include "stdio.h"
- class Read_ch:public ChLibarry
- {
- long ReadID; //读取指针
- long CurID; //当前的由EN转换而来ID
- ////////////////////////////////
- char Enstr[100];
- char Chistr[2000];
- char ChistrEx[2000];
- char *pChistr;
- char *pChistrEx;
- char *readpp;
- int readflge;
- int mode;
- int toword;
- public:
- Read_ch();
- //flage=1表示从基本到扩展,flage=2表示从扩展到基本
- //flage=3表示仅基本,flage=4表示仅扩展
- int SetReadpp(int toword);
- int SetData(int Lmode,char *enstr);
- int GetWord(char *ss,char *en);
- int GetNextWord(char *ss);
- int GetUpWord(char *ss);
- strcpyNextWord(char *CC,char* Chss);
- strcpyUpWord(char *CC,char* Chss);
- int sort(int num,char *retss);
- int Changtoword(int Ltoword);
- int SetNode(long ID);
- };
- #endif // !defined(defRead_ch)