资源简介
用于控制机器鱼的运动姿态,并接收周围的温度、位置等相关信息。
代码片段和文件信息
// fish_api.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “fish_api.h“
#include “fish_apiDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFish_apiApp
BEGIN_MESSAGE_MAP(CFish_apiApp CWinApp)
//{{AFX_MSG_MAP(CFish_apiApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFish_apiApp construction
CFish_apiApp::CFish_apiApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CFish_apiApp object
CFish_apiApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CFish_apiApp initialization
BOOL CFish_apiApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CFish_apiDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 270390 2011-01-13 18:28 fish_api\Debug\fish_api.exe
文件 202720 2011-01-13 18:28 fish_api\Debug\fish_api.ilk
文件 12870 2011-01-13 18:25 fish_api\Debug\fish_api.obj
文件 5494424 2011-01-13 17:51 fish_api\Debug\fish_api.pch
文件 377856 2011-01-13 18:28 fish_api\Debug\fish_api.pdb
文件 133720 2011-01-13 18:28 fish_api\Debug\fish_api.res
文件 33416 2011-01-13 18:25 fish_api\Debug\fish_apiDlg.obj
文件 105450 2011-01-13 17:51 fish_api\Debug\StdAfx.obj
文件 214016 2011-01-13 18:28 fish_api\Debug\vc60.idb
文件 364544 2011-01-13 18:25 fish_api\Debug\vc60.pdb
文件 152392 2011-01-25 09:44 fish_api\fish_api.aps
文件 1921 2011-01-25 09:55 fish_api\fish_api.clw
文件 2091 2011-01-13 17:50 fish_api\fish_api.cpp
文件 4325 2011-01-13 18:28 fish_api\fish_api.dsp
文件 539 2011-01-13 17:50 fish_api\fish_api.dsw
文件 1346 2011-01-13 17:50 fish_api\fish_api.h
文件 58368 2011-01-25 09:56 fish_api\fish_api.ncb
文件 53760 2011-01-25 09:56 fish_api\fish_api.opt
文件 252 2011-01-25 09:49 fish_api\fish_api.plg
文件 6574 2011-01-13 18:28 fish_api\fish_api.rc
文件 9523 2011-01-13 18:25 fish_api\fish_apiDlg.cpp
文件 1595 2011-01-13 18:23 fish_api\fish_apiDlg.h
文件 3615 2011-01-13 17:50 fish_api\ReadMe.txt
文件 151552 2011-01-13 18:28 fish_api\Release\fish_api.exe
文件 8817 2011-01-13 18:28 fish_api\Release\fish_api.obj
文件 5694200 2011-01-13 18:28 fish_api\Release\fish_api.pch
文件 133720 2011-01-13 18:28 fish_api\Release\fish_api.res
文件 20121 2011-01-13 18:28 fish_api\Release\fish_apiDlg.obj
文件 750 2011-01-13 18:28 fish_api\Release\StdAfx.obj
文件 50176 2011-01-25 09:49 fish_api\Release\vc60.idb
............此处省略14个文件信息
评论
共有 条评论