bptoxorsview.h

来自「一个关于bp网络解决异或问题的动态演示程序」· C头文件 代码 · 共 72 行

H
72
字号
// BPtoXorSView.h : interface of the CBPtoXorSView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_BPTOXORSVIEW_H__347AB937_F537_4978_9AA2_341C6A040E2B__INCLUDED_)
#define AFX_BPTOXORSVIEW_H__347AB937_F537_4978_9AA2_341C6A040E2B__INCLUDED_

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

#include "BPnet.h"


class CBPtoXorSView : public CView
{
protected: // create from serialization only
	CBPtoXorSView();
	DECLARE_DYNCREATE(CBPtoXorSView)

// Attributes
public:
	CBPtoXorSDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBPtoXorSView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	int k;
	double origin_y;

	int i;
	CPoint point[300];
	virtual ~CBPtoXorSView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CBPtoXorSView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in BPtoXorSView.cpp
inline CBPtoXorSDoc* CBPtoXorSView::GetDocument()
   { return (CBPtoXorSDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BPTOXORSVIEW_H__347AB937_F537_4978_9AA2_341C6A040E2B__INCLUDED_)

⌨️ 快捷键说明

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