//===========================================================================
// Custom Solution Wizard - Visual C++ Shell - Sample Functions
//
// Copyright (c) 2000 - NeuroDimension, Inc.
//---------------------------------------------------------------------------
//	These files were created with the MFC AppWizard to illustrate how the
//	sample NSLearningNetwork and NSRecallNetwork classes can be used to
//  interact with a Custom Solution Wizard generated DLL for training
//  or recall from a Visual C++ program.
//---------------------------------------------------------------------------
//	This program will compile and run without any further modification.
//	It uses the training data taken from your original breadboard. This data
//  was saved to two files: InputData.txt and DesiredData.txt during the DLL
//  generation.
//===========================================================================
#if !defined(AFX_VCPPSHELL_H__AA0F3C25_F729_11D1_B031_00104B6416D6__INCLUDED_)
#define AFX_VCPPSHELL_H__AA0F3C25_F729_11D1_B031_00104B6416D6__INCLUDED_

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

//===========================================================================
// Includes
//===========================================================================
#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

//===========================================================================
// CLASS: CVCPPShellApp
//===========================================================================
class CVCPPShellApp : public CWinApp
{
public:
	CVCPPShellApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVCPPShellApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CVCPPShellApp)
		// 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()
};


//===========================================================================
// CLASS: CVCPPShellDlg
//===========================================================================
class CVCPPShellDlg : public CDialog
{
// Construction
public:
	CVCPPShellDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CVCPPShellDlg)
	enum { IDD = IDD_VCPPSHELL_DIALOG };
	CString	m_TrainNetwork_Report;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVCPPShellDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CVCPPShellDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnGetResponse();
	afx_msg void OnTrainNetwork();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	double *FillArrayFromFile (LPCTSTR fName, int numRows, int numCols);
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VCPPSHELL_H__AA0F3C25_F729_11D1_B031_00104B6416D6__INCLUDED_)
