📄 mystring.h
字号:
/*---------------------------------------------------------------------------*/
// DisC Decompilation Wizard
// written by
// Satish Kumar S
// satish@miel.mot.com
//
// Copyright 1999-2001 Satish Kumar S
//
// Permission is granted to use this software for research purposes as
// long as this notice stays attached to this software.
/*---------------------------------------------------------------------------*/
#ifndef _STRING_H
#define _STRING_H
#include <string.h>
#include <stdlib.h>
#include "Global.h"
#define MAXSTRLEN 256
class String
{
char Data[MAXSTRLEN];
public:
String();
String(Word i);
String(Byte i);
String(int i);
void operator = (Byte i);
void operator = (Word i);
void operator = (int i);
String &Copy(const char *t);
int IsSubStrPresent(const String &t,int Pos);
int IsEmpty();
void operator += (const String &s);
void operator = (const String &s);
void operator += (const char *t);
void operator = (const char *t);
operator char * ();
String &operator + (const char *t);
String &operator + (const String &t);
int ValueFromHex();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -