⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 data.h

📁 This is my assignment for my tutor s Class. and many problems exist,so you should comprhend it and i
💻 H
字号:
// Data.h: interface for the CData class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DATA_H__377EB193_BCCC_4F69_BDFD_095BA7905583__INCLUDED_)
#define AFX_DATA_H__377EB193_BCCC_4F69_BDFD_095BA7905583__INCLUDED_

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

class CData : public CDocument  
{
public:
	
	CData();
	CData(CData &data);

	virtual ~CData();
	void  SetName(CString name){this->m_Name=name;}
	void  SetA(double a){ this->m_InAngle=a;}
    void  SetN(double n){ this->m_MatterN=n;}
	void  SetK(double k){ this->m_MatterK=k;}
	void  SetM(double thickness){this->m_Mthick=thickness;}
	void  SetUse(bool use){ this->m_Use=use;}
	CString GetName(){return this->m_Name;}
	double GetA(){return this->m_InAngle;}
	double GetN(){return this->m_MatterN;}
	double GetK(){return this->m_MatterK;}
	double GetM(){return this->m_Mthick;}
	bool  GetUse(){return this->m_Use;}
private:
	CString m_Name;
	double m_InAngle;      
	double m_MatterN;
	double m_MatterK;
	double m_Mthick;
	bool  m_Use;


};

#endif // !defined(AFX_DATA_H__377EB193_BCCC_4F69_BDFD_095BA7905583__INCLUDED_)

⌨️ 快捷键说明

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