《ASP.NET课程设计案例精编》 (电子书+源代码)
2022-04-28 19:15:02 8.58MB ASP.NET
1
//C02.cpp // C02.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "C02.h" #include "MainFrm.h" #include "C02Set.h" #include "C02Doc.h" #include "C02View.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CC02App BEGIN_MESSAGE_MAP(CC02App, CWinApp) //{{AFX_MSG_MAP(CC02App) 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) END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CC02App construction CC02App::CC02App() { // TODO: add construction code here, // Place all significant initialization in InitInstance } ///////////////////////////////////////////////////////////////////////////// // The one and only CC02App object CC02App theApp; ///////////////////////////////////////////////////////////////////////////// // CC02App initialization BOOL CC02App::InitInstance() { // 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(CC02Doc), RUNTIME_CLASS(CMainFrame), // main SDI frame window RUNTIME_CLASS(CC02View)); 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_pMainWnd->UpdateWindow(); return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CAboutDlg dialog used for App About class CAboutDlg : public CDialog { public: CAboutDlg(); // Dialog Data //{{AFX_DATA(CAboutDlg) enum { IDD = IDD_ABOUTBOX }; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAboutDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: //{{AFX_MSG(CAboutDlg) // No message handlers //}}AFX_MSG DECLARE_MESSAGE_MAP() }; CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) { //{{AFX_DATA_INIT(CAboutDlg) //}}AFX_DATA_INIT } void CAboutDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CAboutDlg) //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) //{{AFX_MSG_MAP(CAboutDlg) // No message handlers //}}AFX_MSG_MAP END_MESSAGE_MAP() // App command to run the dialog void CC02App::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); } ///////////////////////////////////////////////////////////////////////////// // CC02App message handlers
2022-04-22 13:43:22 64KB Visual C++
1
最新的FISCO BCOS案例精编202106,汇集最新的优秀案例
2022-04-15 18:13:47 6.99MB 区块链 fisco 案例精选
《汇编语言课程设计案例精编》源代码,很多汇编的实例,供大家学习
2022-01-12 20:10:44 259KB 汇编 课程设计 案例 精编
1
FISCO BCOS案例精编202106-70.pdf
2021-12-26 12:01:40 9.43MB 研究
C语言程序设计案例精编: 案例一 贪吃蛇游戏 案例二 计算器 案例三 黑白棋游戏 案例四 迷宫问题 案例五 扫地雷游戏 案例六 速算24 案例七 数据结构CAI系统 案例八 进程调度 案例九 存储管理分区分配算法 案例十 通讯录 案例十一 学生成绩管理 案例十二 工资管理 案例十三 图书借阅管理 案例十四 教师工作量计算
2021-12-17 14:14:49 58KB C语言
1
数据结构课程设计案例精编(用C/C++描述) [李建学 李光元 吴春芳 清华大学 2007] 随书光盘的源代码部分
2021-12-17 12:04:57 7.65MB 数据结构 课程设计
1
Java 设计 案例 源代码
2021-12-08 21:09:08 3.29MB Java 设计 案例 源代码
1
Visual FoxPro 课程设计案例精编 清华大学出版社,相配套各个章节源代码
2021-11-29 14:46:07 4.69MB 源代码
1
光盘中的程序都可以运行,而且都有源代码.希望内行的看了之后,帮助宣传宣传. 附:《数据结构课程设计案例精编(用C/C++描述)》一书简介 本书是数据结构案例教程,以软件重用为指导思想,以STL库中实现的数据结构(容器)为参照,重构了数据结构的视角和知识体系,并突出实战性和应用性。. 本书具体内容安排如下:第一部分是理论基础,包括绪论和第1、2、3、4章,介绍数据结构和算法的基础知识,C++语言的关键特征以及支撑STL设计的核心理念和机制。第二部分是基础数据结构,从第5章到第9章,涵盖了基础的数据结构,并包含丰富的例子。第三部分(即第10章)是综合应用,包括4个大的案例,是对前面章节所讲的基础数据结构的综合应用。本书附带的光盘中包含经过主流C十+编译器编译通过的所有程序的源代码及编译后生成的可执行程序和第三方软件。.. 本书将C++泛型编程知识与数据结构知识紧密地结合在了一起,是国内比较罕见的、有技术深度的、符合现代发展方向的优秀教材/教辅读物。 本书适合于在校信息科学与技术类学生作为课程设计指导用书,亦可随数据结构课程同步学习,也非常适合于工作中的程序员以更加实践化的角度温习和应用数据结构。 第一部分 理论基础. 绪言——致成长中的程序员们 一. 为什么要使用C++? 二. 为什么要使用STL? 三. 编程的一些规范 四. 应当使用什么开发环境? 第1章 数据结构导论 1. 1 数据结构与算法 1. 1. 1 数据结构 1. 1. 2 算法 1. 2 数据结构的抽象形式——抽象数据类型 1. 2. 1 抽象数据类型 1. 2. 2 应用程序编程接口(API) 1. 2. 3 维护程序和文档 1. 3 C++类和抽象数据类型 1. 3. 1 C++类 1. 3. 2 继承性 1. 3. 3 多态性 1. 3. 4 泛型设计和模板 1. 4 运算与算法 1. 4. 1 运算 1. 4. 2 算法 1. 5 算法分析 1. 5. 1 时空性能 1. 5. 2 时间复杂度分析 1. 5. 3 空间复杂度分析 1. 5. 4 算法分析与代码优化调整 第2章 C++语言概述 2. 1 C++语言的演化和标准化历程 2. 2 C++支持的程序设计风格 2. 2. 1 基于过程的程序设计 2. 2. 2 基于对象的程序设计 2. 2. 3 面向对象的程序设计 2. 2. 4 泛型程序设计 2. 3 模块化程序设计 2. 3. 1 函数 2. 3. 2 类和封装机制 2. 4 类的构造. 析构和赋值 2. 4. 1 构造函数和析构函数 2. 4. 2 类的赋值 2. 5 类层次结构——继承和多态 2. 5. 1 访问控制:public.cprivate和protected继承 2. 5. 2 虚函数与多态 2. 6 异常处理 2. 6. 1 异常处理的应用情况 2. 6. 2 异常处理基础知识 2. 6. 3 其他错误处理技术 2. 7 推荐的编程习. 惯和风格 第3章 C++模板编程入门 3. 1 类模板 3. 1. 1 如何定义类模板 3. 1. 2 如何实现类模板的成员函数 3. 1. 3 如何使用类模板 3. 2 函数模板 3. 2. 1 如何定义函数模板 3. 2. 2 如何使用函数模板 3. 3 模板实例化 3. 4 模板的特化 3. 4. 1 类模板的特化 3. 4. 2 函数模板的特化 3. 5 模板参数 3. 6 静态成员和变量 3. 7 模板和friend 3. 8 函数对象(仿函数) 3. 8. 1 如何定义函数对象 3. 8. 2 函数对象的使用 3. 8. 3模板函数对象 3. 8. 4 标准库中的函数对象 第4章 泛型设计. STL库与数据结构 4. 1 标准C++与STL 4. 1. 1 模板——现代C++风格的基础 4. 1. 2 STL的发展历程 4. 1. 3 STL与C++标准程序库 4. 1. 4 STL的实现版本 4. 1. 5 准标准程序库:Boost库 4. 1. 6 泛型算法与STL的应用展示 4. 2 泛型程序设计与多态 4. 2. 1 面向对象程序设计中的多态 4. 2. 2 泛型程序设计中的多态 4. 2. 3 GP与OOP的对比 4. 3 泛型程序设计与STL 4. 3. 1 STL库的设计:容器. 算法与迭代器 4. 3. 2 A umul
2021-11-22 22:19:34 7.71MB 数据结构 案例分析
1