📄 message.h~
字号:
// Message.h: interface for the CMessage class.
//
//////////////////////////////////////////////////////////////////////
/*#if !defined(AFX_MESSAGE_H__55773825_0AEA_4F51_96E9_429DAFC2D40A__INCLUDED_)
#define AFX_MESSAGE_H__55773825_0AEA_4F51_96E9_429DAFC2D40A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000*/
///////////////////////////////////////////////////////////////////////
#ifndef __MESSAGE_H__
#define __MESSAGE_H__
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <memory.h>
#include <string.h>
using namespace std;
class CMessage
{
public:
CMessage(){total_Str = NULL;}
CMessage(char *buff, int buf_length);
void SetSingleStr(char *str, int startc, int length);
void GetsingleStr(char *str, int startc, int length);
int GetType();
int GetTotalStrLen();
int GetSID();
virtual char *GetTotalStr(){return total_Str;} //cs
virtual int GetUID(){return total_Str[0];} //c
virtual char *GetPWD(){return total_Str;} //c
virtual char *GetName(){return total_Str;} //c
virtual int GetLMCount(){return total_Str[0];} //s
virtual char *GetList(){return total_Str;} //s
virtual char *GetMessage(){return total_Str;} //s
virtual ~CMessage();
protected:
int Type,Sid,total_length;
char *total_Str;
};
//#endif
// !defined(AFX_MESSAGE_H__55773825_0AEA_4F51_96E9_429DAFC2D40A__INCLUDED_)
//CMessage::CMessage()
//{}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -