.
#if !defined(AFX_ZHENGSHU_H__254BB13E_9F27_4785_BDEE_637C9445F651__INCLUDED_) #define
AFX_ZHENGSHU_H__254BB13E_9F27_4785_BDEE_637C9445F651__INCLUDED_
#if _MSC_VER > 1000 #pragma once
#endif // _MSC_VER > 1000
class zhengshu { public: }; #endif
// !defined(AFX_ZHENGSHU_H__254BB13E_9F27_4785_BDEE_637C9445F651__INCLUDED_)
.
zhengshu(); virtual ~zhengshu();
.
// zhengshu.cpp: implementation of the zhengshu class. //
//////////////////////////////////////////////////////////////////////
#include \#include \
////////////////////////////////////////////////////////////////////// // Construction/Destruction
////////////////////////////////////////////////////////////////////// zhengshu::zhengshu() { }
zhengshu::~zhengshu() { }
// fenshu.h: interface for the fenshu class. //
//////////////////////////////////////////////////////////////////////
.
.
#if !defined(AFX_FENSHU_H__6E3E6A1A_943D_4CB4_87D1_758261F44F66__INCLUDED_) #define
AFX_FENSHU_H__6E3E6A1A_943D_4CB4_87D1_758261F44F66__INCLUDED_
#if _MSC_VER > 1000 #pragma once
#endif // _MSC_VER > 1000
#include \
class fenshu : public zhengshu { public:
fenshu();
int disply(); int jia();
.
int jian(); int cheng(); int chu();
.
int a,s,d,f;
int k,l; //0 int q,w;
int shuchu(int q,int w); }; #endif
// !defined(AFX_FENSHU_H__6E3E6A1A_943D_4CB4_87D1_758261F44F66__INCLUDED_)
// fenshu.cpp: implementation of the fenshu class. //
//////////////////////////////////////////////////////////////////////
#include \#include \#include %using namespace std;
//////////////////////////////////////////////////////////////////////
.
virtual ~fenshu();
.
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
fenshu::fenshu() { disply(); }
fenshu::~fenshu() { }
int fenshu::disply() { while(!0) { int i;
system(\ system(\
cout<<\分数计算器__________\\n\ cout<<\ 1.加法运算 2.减法运算\
.