randomarrayfromtxt.h

来自「一个创建随机数的程序」· C头文件 代码 · 共 45 行

H
45
字号
#if !defined(AFX_RANDOMARRAYFROMTXT_H__B5D19DDF_8701_4FD4_9A50_3AC1BAC6FC94__INCLUDED_)
#define AFX_RANDOMARRAYFROMTXT_H__B5D19DDF_8701_4FD4_9A50_3AC1BAC6FC94__INCLUDED_

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

class CRandomArrayFromTxt : public CWnd
{
// Construction
public:
	CRandomArrayFromTxt();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRandomArrayFromTxt)
	//}}AFX_VIRTUAL

// Implementation
public:
	void GetRandomArrayFromTxt(int m_Collect_Times,double *a_Random,int m_Txt_Line,int m_Txt_Row,int m_Txt_Spacing);// 采点个数、数组、数表行数、列数、空格间距
	virtual ~CRandomArrayFromTxt();

	// Generated message map functions
protected:
	void GetRandomArrayFromALine(CString strc,double *a_Random,int m_Collect_Times,int m_Txt_Row,int m_Txt_Spacing,int ct);
	//{{AFX_MSG(CRandomArrayFromTxt)
		// 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_RANDOMARRAYFROMTXT_H__B5D19DDF_8701_4FD4_9A50_3AC1BAC6FC94__INCLUDED_)

⌨️ 快捷键说明

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