Interpreter
說明:
- 編碼及解碼。
// InterpreterText.h
#ifndef _INTERPRETERTEXT_H
#define _INTERPRETERTEXT_H
#include <string>
using namespace std;
class InterpreterText {
public:
InterpreterText();
string toBase64(string charset, string textData);
string fromBase54(string base64Text);
};
#endif
// SimpleText.h
#ifndef _SIMPLETEXT_H
#define _SIMPLETEXT_H
#include <string>
using namespace std;
class SimpleText {
private:
string Charset;
string TextData;
public:
SimpleText(string charset, string textData);
};
#endif