資源簡介
mfc運算器,支持加減乘運算,轉置運算,內容比較詳細,有關鍵注釋

代碼片段和文件信息
//?CreatMatrix.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“矩陣.h“
#include?“CreatMatrix.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCreatMatrix?dialog
CCreatMatrix::CCreatMatrix(CWnd*?pParent?/*=NULL*/)
:?CDialog(CCreatMatrix::IDD?pParent)
{
//{{AFX_DATA_INIT(CCreatMatrix)
m_row?=?3;
m_col?=?4;
//}}AFX_DATA_INIT
}
void?CCreatMatrix::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCreatMatrix)
DDX_Text(pDX?IDC_ROW?m_row);
DDV_MinMaxInt(pDX?m_row?1?100);
DDX_Text(pDX?IDC_COL?m_col);
DDV_MinMaxInt(pDX?m_col?1?100);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CCreatMatrix?CDialog)
//{{AFX_MSG_MAP(CCreatMatrix)
ON_BN_CLICKED(IDC_BUTTON_OK?OnButtonOk)
ON_BN_CLICKED(IDC_RADIO_Num_Int?OnRADIONumInt)
ON_BN_CLICKED(IDC_RADIO_Num_Double?OnRADIONumDouble)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CCreatMatrix?message?handlers
void?CCreatMatrix::OnButtonOk()?
{
//?TODO:?Add?your?control?notification?handler?code?here
CDialog::OnOK();
}
void?CCreatMatrix::OnRADIONumInt()?
{
//?TODO:?Add?your?control?notification?handler?code?here
m_numtype=1;
}
void?CCreatMatrix::OnRADIONumDouble()?
{
//?TODO:?Add?your?control?notification?handler?code?here
m_numtype=2;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1535??2013-09-07?13:37??矩陣\CreatMatrix.cpp
?????文件???????1314??2013-09-10?09:49??矩陣\CreatMatrix.h
?????文件???????2367??2013-09-07?14:14??矩陣\MainFrm.cpp
?????文件???????1440??2013-09-07?14:14??矩陣\MainFrm.h
?????文件????????472??2013-09-07?11:04??矩陣\Matrix.cpp
?????文件???????2124??2013-09-12?20:05??矩陣\Matrix.h
?????文件???????4249??2013-09-07?11:02??矩陣\ReadMe.txt
?????文件???????1078??2013-09-07?11:02??矩陣\res\Toolbar.bmp
?????文件???????1078??2013-09-07?11:02??矩陣\res\矩陣.ico
?????文件????????396??2013-09-07?11:02??矩陣\res\矩陣.rc2
?????文件???????1078??2013-09-07?11:02??矩陣\res\矩陣Doc.ico
?????文件???????1289??2013-09-08?14:02??矩陣\resource.h
?????文件????????206??2013-09-07?11:02??矩陣\StdAfx.cpp
?????文件???????1077??2013-09-07?11:02??矩陣\StdAfx.h
?????文件??????29984??2013-09-12?19:57??矩陣\矩陣.aps
?????文件???????3340??2013-09-13?13:25??矩陣\矩陣.clw
?????文件???????4145??2013-09-07?11:02??矩陣\矩陣.cpp
?????文件???????4788??2013-09-07?15:29??矩陣\矩陣.dsp
?????文件????????516??2013-09-07?11:10??矩陣\矩陣.dsw
?????文件???????1312??2013-09-07?11:02??矩陣\矩陣.h
?????文件?????115712??2013-09-13?13:25??矩陣\矩陣.ncb
?????文件??????56832??2013-09-13?13:25??矩陣\矩陣.opt
?????文件???????1206??2013-09-12?20:13??矩陣\矩陣.plg
?????文件??????13331??2013-09-08?14:02??矩陣\矩陣.rc
?????文件???????2768??2013-09-12?20:06??矩陣\矩陣Doc.cpp
?????文件???????1424??2013-09-08?17:47??矩陣\矩陣Doc.h
?????文件??????14159??2013-09-13?12:26??矩陣\矩陣View.cpp
?????文件???????2019??2013-09-08?14:04??矩陣\矩陣View.h
?????目錄??????????0??2013-10-07?17:02??矩陣\res
?????目錄??????????0??2013-10-07?17:02??矩陣
............此處省略3個文件信息
評論
共有 條評論