tollerinfo.h
来自「计费查询程序」· C头文件 代码 · 共 49 行
H
49 行
/////////////////////////////////////////////////////////////
//TollerInfo.h
//Define the CTollerInfo class
//
//
/////////////////////////////////////////////////////////////
#ifndef _TOLLERINFO_H
#define _TOLLERINFO_H
//#include "stdafx.h"
#include "tolldef.h"
class CTollerInfo:public CObject
{
public:
//constructors
CTollerInfo();
CTollerInfo(CTollerInfo&);
CTollerInfo(char* aLoginName,
char* aIPAddr,
int aSubTotal,
int aTotal);
CTollerInfo(TOLLERINFO* pti);
~CTollerInfo();
//operations
void Put(CString sLoginName,
CString sIPAddr,
int aSubTotal,
int aTotal);
CString GetLoginName();
//convert the toller info to a TOLLERINFO struct
void GetInfoStruct(TOLLERINFO& tis);
void Put(CTollerInfo& ti);
public:
//attributes
char szLoginName[7];//user login name
char szIPAddr[16];//IP Address
int nSubTotal;//from 12:00 at last night to now,the traffic
int nTotal;//from last toll date,every month toll
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?