getresult.h
来自「这是k最大乘积问题,给与了可视化实现,很方便」· C头文件 代码 · 共 54 行
H
54 行
#if !defined(AFX_GETRESULT_H__CBE1952C_D57A_44CB_9C68_FB7987FFD72D__INCLUDED_)
#define AFX_GETRESULT_H__CBE1952C_D57A_44CB_9C68_FB7987FFD72D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// getresult.h : header file
//
#include "math.h"
/////////////////////////////////////////////////////////////////////////////
// getresult command target
class getresult : public CCmdTarget
{
DECLARE_DYNCREATE(getresult)
getresult(); // protected constructor used by dynamic creation
// Attributes
public:
int target,num,cutNum;//要处理的数,数的位数,分割的段数,
int recTab[100][100]; ;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(getresult)
//}}AFX_VIRTUAL
// Implementation
public:
double traceback(double target, int num, int cutNum);
void set(int,int,int);
virtual ~getresult();
// Generated message map functions
//{{AFX_MSG(getresult)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GETRESULT_H__CBE1952C_D57A_44CB_9C68_FB7987FFD72D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?