strtype.h

来自「此文件可以能帮你求体积」· C头文件 代码 · 共 33 行

H
33
字号
// StrType.h: interface for the StrType class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STRTYPE_H__16449F4E_8CEE_4942_B704_801249A34192__INCLUDED_)
#define AFX_STRTYPE_H__16449F4E_8CEE_4942_B704_801249A34192__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class StrType  
{
public:
	StrType();
	StrType( char* p);
	virtual ~StrType();

public:
	char* Get();
	StrType operator+( StrType& s2 );
	StrType& operator=( StrType& s2 );
	
	int operator<( StrType& s2 );
	int operator>( StrType& s2 );
	int operator==( StrType& s2 );

private:
	char s[80];
};

#endif // !defined(AFX_STRTYPE_H__16449F4E_8CEE_4942_B704_801249A34192__INCLUDED_)

⌨️ 快捷键说明

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