-
大小: 208KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-06-05
- 語(yǔ)言: C/C++
- 標(biāo)簽:
資源簡(jiǎn)介
該代碼是用C++編寫的小波人工神經(jīng)網(wǎng)絡(luò),可實(shí)現(xiàn)小波神經(jīng)網(wǎng)絡(luò)的訓(xùn)練和預(yù)測(cè)。

代碼片段和文件信息
//?myrandplotestvc.cpp?:?定義應(yīng)用程序的類行為。
//
#include?“stdafx.h“
#include?“myrandplotestvc.h“
#include?“myrandplotestvcDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CmyrandplotestvcApp
BEGIN_MESSAGE_MAP(CmyrandplotestvcApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CmyrandplotestvcApp?構(gòu)造
CmyrandplotestvcApp::CmyrandplotestvcApp()
{
//?支持重新啟動(dòng)管理器
m_dwRestartManagerSupportFlags?=?AFX_RESTART_MANAGER_SUPPORT_RESTART;
//?TODO:?在此處添加構(gòu)造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}
//?唯一的一個(gè)?CmyrandplotestvcApp?對(duì)象
CmyrandplotestvcApp?theApp;
//?CmyrandplotestvcApp?初始化
BOOL?CmyrandplotestvcApp::InitInstance()
{
//?如果一個(gè)運(yùn)行在?Windows?XP?上的應(yīng)用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來(lái)啟用可視化方式,
//則需要?InitCommonControlsEx()。否則,將無(wú)法創(chuàng)建窗口。
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?將它設(shè)置為包括所有要在應(yīng)用程序中使用的
//?公共控件類。
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
//?創(chuàng)建?shell?管理器,以防對(duì)話框包含
//?任何?shell?樹視圖控件或?shell?列表視圖控件。
CShellManager?*pShellManager?=?new?CShellManager;
//?標(biāo)準(zhǔn)初始化
//?如果未使用這些功能并希望減小
//?最終可執(zhí)行文件的大小,則應(yīng)移除下列
//?不需要的特定初始化例程
//?更改用于存儲(chǔ)設(shè)置的注冊(cè)表項(xiàng)
//?TODO:?應(yīng)適當(dāng)修改該字符串,
//?例如修改為公司或組織名
SetRegistryKey(_T(“應(yīng)用程序向?qū)傻谋镜貞?yīng)用程序“));
CmyrandplotestvcDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?在此放置處理何時(shí)用
//??“確定”來(lái)關(guān)閉對(duì)話框的代碼
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?在此放置處理何時(shí)用
//??“取消”來(lái)關(guān)閉對(duì)話框的代碼
}
//?刪除上面創(chuàng)建的?shell?管理器。
if?(pShellManager?!=?NULL)
{
delete?pShellManager;
}
//?由于對(duì)話框已關(guān)閉,所以將返回?FALSE?以便退出應(yīng)用程序,
//??而不是啟動(dòng)應(yīng)用程序的消息泵。
return?FALSE;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????98033??2015-02-02?16:00??myrandplotestvc\myrandplotestvc\mwcomtypes.h
?????文件?????106012??2010-12-30?10:08??myrandplotestvc\myrandplotestvc\myrandplotestv.aps
?????文件?????106972??2015-02-02?09:34??myrandplotestvc\myrandplotestvc\myrandplotestvc.aps
?????文件???????2110??2010-12-30?09:28??myrandplotestvc\myrandplotestvc\myrandplotestvc.cpp
?????文件????????496??2010-12-30?09:28??myrandplotestvc\myrandplotestvc\myrandplotestvc.h
?????文件??????12902??2015-02-02?09:34??myrandplotestvc\myrandplotestvc\myrandplotestvc.rc
?????文件???????6913??2015-02-02?09:39??myrandplotestvc\myrandplotestvc\myrandplotestvc.vcxproj
?????文件???????2620??2015-02-02?09:39??myrandplotestvc\myrandplotestvc\myrandplotestvc.vcxproj.filters
?????文件????????143??2010-12-30?09:28??myrandplotestvc\myrandplotestvc\myrandplotestvc.vcxproj.user
?????文件???????6468??2015-02-03?17:22??myrandplotestvc\myrandplotestvc\myrandplotestvcDlg.cpp
?????文件????????946??2015-02-02?09:39??myrandplotestvc\myrandplotestvc\myrandplotestvcDlg.h
?????文件??????10779??2015-02-02?16:00??myrandplotestvc\myrandplotestvc\myrandplottest_idl.h
?????文件???????2048??2015-02-02?16:00??myrandplotestvc\myrandplotestvc\myrandplottest_idl_i.c
?????文件???????1332??2015-02-02?09:55??myrandplotestvc\myrandplotestvc\OutviewDlg.cpp
?????文件????????488??2015-02-02?09:55??myrandplotestvc\myrandplotestvc\OutviewDlg.h
?????文件???????3165??2010-12-30?09:28??myrandplotestvc\myrandplotestvc\ReadMe.txt
?????文件??????67777??2009-08-31?02:31??myrandplotestvc\myrandplotestvc\res\myrandplotestvc.ico
?????文件????????686??2010-12-30?09:28??myrandplotestvc\myrandplotestvc\res\myrandplotestvc.rc2
?????文件???????2202??2015-02-02?09:34??myrandplotestvc\myrandplotestvc\resource.h
?????文件????????148??2010-12-30?09:28??myrandplotestvc\myrandplotestvc\stdafx.cpp
?????文件???????1632??2010-12-30?09:28??myrandplotestvc\myrandplotestvc\stdafx.h
?????文件????????234??2010-12-30?09:28??myrandplotestvc\myrandplotestvc\targetver.h
?????文件????????912??2010-12-30?09:28??myrandplotestvc\myrandplotestvc.sln
????..A..H.?????32768??2015-02-04?11:09??myrandplotestvc\myrandplotestvc.suo
?????目錄??????????0??2015-03-17?09:06??myrandplotestvc\myrandplotestvc\res
?????目錄??????????0??2015-03-17?09:06??myrandplotestvc\myrandplotestvc
?????目錄??????????0??2015-03-17?09:07??myrandplotestvc
-----------?---------??----------?-----??----
???????????????467786????????????????????27
............此處省略0個(gè)文件信息
- 上一篇:自制C++矩陣計(jì)算器
- 下一篇:算法題《武士巡邏》的C++代碼
評(píng)論
共有 條評(píng)論