资源简介

司机出品,必属精品。本MFC程序代码优美,功能严谨,使用到大量高级算法和数据结构,功能上实现数据本地存储,成绩统计直方图显示,学生成绩增删查改,绝对值10个积分。欢迎下载参考。郑重申明,本程序又黑车司机原创 (create by VS2013)

资源截图

代码片段和文件信息


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

#include “stdafx.h“
#include “BlackCarSystem.h“
#include “BlackCarSystemDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CBlackCarSystemApp

BEGIN_MESSAGE_MAP(CBlackCarSystemApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()


// CBlackCarSystemApp construction

CBlackCarSystemApp::CBlackCarSystemApp()
{
// support Restart Manager
m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_RESTART;

// TODO: add construction code here
// Place all significant initialization in InitInstance
}


// The one and only CBlackCarSystemApp object

CBlackCarSystemApp theApp;


// CBlackCarSystemApp initialization

BOOL CBlackCarSystemApp::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles.  Otherwise any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

CWinApp::InitInstance();


AfxEnableControlContainer();

// Create the shell manager in case the dialog contains
// any shell tree view or shell list view controls.
CShellManager *pShellManager = new CShellManager;

// Activate “Windows Native“ visual manager for enabling themes in MFC controls
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerWindows));

// 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
// Change the registry key under which our settings are stored
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));

CBlackCarSystemDlg dlg;
m_pMainWnd = &dlg;
INT_PTR 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
}
else if (nResponse == -1)
{
TRACE(traceAppMsg 0 “Warning: dialog creation failed so application is terminating unexpectedly.\n“);
TRACE(traceAppMsg 0 “Warning: if you are using MFC controls on the dialog you cannot #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS.\n“);
}

// Delete the shell manager created above.
if (pShellManager != NULL)
{
delete pShellManager;
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
r

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

     文件         15  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\COMMIT_EDITMSG

     文件        130  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\config

     文件         37  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\description

     文件         23  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\HEAD

     文件        478  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\applypatch-msg.sample

     文件        896  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\commit-msg.sample

     文件       3327  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\fsmonitor-watchman.sample

     文件        189  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\post-update.sample

     文件        424  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\pre-applypatch.sample

     文件       1638  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\pre-commit.sample

     文件       1348  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\pre-push.sample

     文件       4898  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\pre-rebase.sample

     文件        544  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\pre-receive.sample

     文件       1492  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\prepare-commit-msg.sample

     文件       3610  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\hooks\update.sample

     文件        145  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\index

     文件        240  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\info\exclude

     文件        198  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\logs\HEAD

     文件        198  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\logs\refs\heads\master

     文件        153  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\objects\44\f9e062fca017e1a0d3b944118e2ddffce73acf

     文件         59  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\objects\6f\9509c88bed7080d496fc5e1d87a9315e30549d

     文件         76  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\objects\df\e0770424b2a19faf507a501ebfc23be8f54e7b

     文件         41  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.git\refs\heads\master

     文件         66  2018-12-31 11:40  BlackCarSystem\BlackCarDriverSystem\.gitattributes

     文件     115892  2018-12-28 21:00  BlackCarSystem\BlackCarSystem\BlackCarSystem.aps

     文件       3019  2018-12-25 21:54  BlackCarSystem\BlackCarSystem\BlackCarSystem.cpp

     文件        553  2018-12-25 11:47  BlackCarSystem\BlackCarSystem\BlackCarSystem.h

     文件      22470  2018-12-28 21:00  BlackCarSystem\BlackCarSystem\BlackCarSystem.rc

     文件       6610  2018-12-26 16:46  BlackCarSystem\BlackCarSystem\BlackCarSystem.vcxproj

     文件       4092  2018-12-25 21:54  BlackCarSystem\BlackCarSystem\BlackCarSystem.vcxproj.filters

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

评论

共有 条评论