资源简介
基于C++和Access的学生管理系统
可查询学生的信息
代码片段和文件信息
// Ex_ODBC.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Ex_ODBC.h“
#include “MainFrm.h“
#include “Ex_ODBCSet.h“
#include “Ex_ODBCDoc.h“
#include “Ex_ODBCView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEx_ODBCApp
BEGIN_MESSAGE_MAP(CEx_ODBCApp CWinApp)
//{{AFX_MSG_MAP(CEx_ODBCApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEx_ODBCApp construction
CEx_ODBCApp::CEx_ODBCApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CEx_ODBCApp object
CEx_ODBCApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CEx_ODBCApp initialization
BOOL CEx_ODBCApp::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
// 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“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CEx_ODBCDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CEx_ODBCView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one and only window has been initialized so show and update it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMai
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 52492 2011-04-06 08:19 Ex_ODBC\Ex_ODBC.aps
文件 4389 2011-04-06 08:23 Ex_ODBC\Ex_ODBC.clw
文件 4296 2011-03-22 16:44 Ex_ODBC\Ex_ODBC.cpp
文件 6131 2011-03-27 10:40 Ex_ODBC\Ex_ODBC.dsp
文件 583 2011-03-27 10:40 Ex_ODBC\Ex_ODBC.dsw
文件 1367 2011-03-22 16:32 Ex_ODBC\Ex_ODBC.h
文件 140288 2011-04-06 08:24 Ex_ODBC\Ex_ODBC.ncb
文件 54784 2011-04-06 08:24 Ex_ODBC\Ex_ODBC.opt
文件 2540 2011-04-06 08:23 Ex_ODBC\Ex_ODBC.plg
文件 31643 2011-04-06 08:19 Ex_ODBC\Ex_ODBC.rc
文件 1787 2011-03-22 16:32 Ex_ODBC\Ex_ODBCDoc.cpp
文件 1539 2011-03-22 16:32 Ex_ODBC\Ex_ODBCDoc.h
文件 1426 2011-03-22 16:47 Ex_ODBC\Ex_ODBCSet.cpp
文件 1323 2011-03-22 16:47 Ex_ODBC\Ex_ODBCSet.h
文件 6314 2011-04-06 08:22 Ex_ODBC\Ex_ODBCView.cpp
文件 2242 2011-04-04 21:09 Ex_ODBC\Ex_ODBCView.h
文件 2098 2011-03-27 10:21 Ex_ODBC\font.cpp
文件 1461 2011-03-27 10:21 Ex_ODBC\font.h
文件 2508 2011-03-22 16:32 Ex_ODBC\MainFrm.cpp
文件 1581 2011-03-22 16:32 Ex_ODBC\MainFrm.h
文件 29360 2011-03-27 10:21 Ex_ODBC\msflexgrid.cpp
文件 7490 2011-03-27 10:21 Ex_ODBC\msflexgrid.h
文件 1128 2011-03-27 10:21 Ex_ODBC\picture.cpp
文件 1295 2011-03-27 10:21 Ex_ODBC\picture.h
文件 4528 2011-03-22 16:32 Ex_ODBC\ReadMe.txt
文件 1078 2011-03-22 16:32 Ex_ODBC\res\Ex_ODBC.ico
文件 399 2011-03-22 16:32 Ex_ODBC\res\Ex_ODBC.rc2
文件 1078 2011-03-22 16:32 Ex_ODBC\res\Ex_ODBCDoc.ico
文件 1558 2011-03-22 16:32 Ex_ODBC\res\Toolbar.bmp
文件 1281 2011-04-04 22:42 Ex_ODBC\Resource.h
............此处省略12个文件信息
- 上一篇:文件版本号修改
- 下一篇:编译原理实验之四元式的生成源代码c语言
评论
共有 条评论