• 大小: 3.75MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-07
  • 语言: C/C++
  • 标签: mfc  

资源简介

公交车上下车模拟 计算车上人数 mfc

资源截图

代码片段和文件信息

// BUS.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “BUS.h“
#include “BUSDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CBUSApp

BEGIN_MESSAGE_MAP(CBUSApp CWinApp)
//{{AFX_MSG_MAP(CBUSApp)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CBUSApp construction

CBUSApp::CBUSApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CBUSApp object

CBUSApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CBUSApp initialization

BOOL CBUSApp::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

CBUSDlg 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;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     320988  2013-12-26 16:52  BUS\BUS.APS

     文件       2024  2013-12-26 17:25  BUS\BUS.clw

     文件       2021  2013-12-17 18:12  BUS\BUS.cpp

     文件       4780  2013-12-19 16:03  BUS\BUS.dsp

     文件        512  2013-12-17 18:50  BUS\BUS.dsw

     文件       1291  2013-12-17 18:12  BUS\BUS.h

     文件      74752  2013-12-26 17:25  BUS\BUS.ncb

     文件      48640  2013-12-26 17:25  BUS\BUS.opt

     文件        240  2013-12-26 17:24  BUS\BUS.plg

     文件       7433  2013-12-19 10:12  BUS\BUS.rc

     文件       7066  2013-12-20 10:55  BUS\BUSDlg.cpp

     文件       1589  2013-12-19 09:22  BUS\BUSDlg.h

     文件    2482217  2013-12-26 16:58  BUS\Debug\BUS.exe

     文件    2501720  2013-12-26 16:58  BUS\Debug\BUS.ilk

     文件      12730  2013-12-19 09:24  BUS\Debug\BUS.obj

     文件    5527420  2013-12-17 18:29  BUS\Debug\BUS.pch

     文件    4080640  2013-12-26 16:58  BUS\Debug\BUS.pdb

     文件     307308  2013-12-19 10:12  BUS\Debug\BUS.res

     文件      28768  2013-12-20 10:55  BUS\Debug\BUSDlg.obj

     文件       1758  2013-12-26 16:58  BUS\Debug\Passenger.obj

     文件     105242  2013-12-17 18:29  BUS\Debug\StdAfx.obj

     文件     222208  2013-12-26 17:24  BUS\Debug\vc60.idb

     文件     380928  2013-12-26 16:58  BUS\Debug\vc60.pdb

     文件       1862  2013-12-26 16:58  BUS\Passenger.cpp

     文件          0  2013-12-26 16:52  BUS\Passenger.h

     文件       2758  2013-12-18 14:43  BUS\QQ截图20131217131915.bmp

     文件       3525  2013-12-17 18:12  BUS\ReadMe.txt

     文件      23010  2013-12-18 19:38  BUS\res\bitmap4.bmp

     文件       1846  2013-12-18 19:20  BUS\res\bitmap5.bmp

     文件       1846  2013-12-18 19:20  BUS\res\bitmap6.bmp

............此处省略16个文件信息

评论

共有 条评论