longcal.h
来自「在Visual C++6.0 WinXp下编译通过采用类来实现,从CString」· C头文件 代码 · 共 38 行
H
38 行
// LongCal.h: interface for the CLongCal class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LONGCAL_H__63EFB33F_FAB3_41FE_8A9A_64DD9CCF9A3F__INCLUDED_)
#define AFX_LONGCAL_H__63EFB33F_FAB3_41FE_8A9A_64DD9CCF9A3F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CLongCal
{
public:
int strGetChar(CString a ,int index);
void toString();
bool isZero();
void iniUseString(CString str);
int strValueCompare(CString a,CString b);
CString aSUBb(CString a,CString b);
void trimNoNum(CString &str);
void trimZero(CString &str);
CString aADDb(CString a,CString b);
void swapString(CString &a,CString &b);
void Add(CLongCal c);
bool isNum(char a);
CLongCal();
CLongCal(CString str);
virtual ~CLongCal();
private:
CString m_str;//reverse format
char m_sign;
};
#endif // !defined(AFX_LONGCAL_H__63EFB33F_FAB3_41FE_8A9A_64DD9CCF9A3F__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?