资源简介
编译原理 课程设计 DAG 报告+源码(C++版,C语言版两份)

代码片段和文件信息
// DAG.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “DAG.h“
#include “MainFrm.h“
#include “DAGDoc.h“
#include “DAGView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDAGApp
BEGIN_MESSAGE_MAP(CDAGApp CWinApp)
//{{AFX_MSG_MAP(CDAGApp)
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()
/////////////////////////////////////////////////////////////////////////////
// CDAGApp construction
CDAGApp::CDAGApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CDAGApp object
CDAGApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CDAGApp initialization
BOOL CDAGApp::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(CDAGDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CDAGView));
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;
}
/////////////////////////////////////////
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-01-10 16:55 编译原理\
目录 0 2014-01-10 16:52 编译原理\DAG\
文件 27908 2014-01-09 02:25 编译原理\DAG\DAG.APS
文件 1884 2014-01-09 19:33 编译原理\DAG\DAG.clw
文件 4155 2014-01-08 13:06 编译原理\DAG\DAG.cpp
文件 4492 2014-01-08 13:06 编译原理\DAG\DAG.dsp
文件 514 2014-01-08 16:15 编译原理\DAG\DAG.dsw
文件 1323 2014-01-08 13:06 编译原理\DAG\DAG.h
文件 82944 2014-01-09 19:33 编译原理\DAG\DAG.ncb
文件 50688 2014-01-09 19:33 编译原理\DAG\DAG.opt
文件 240 2014-01-09 19:31 编译原理\DAG\DAG.plg
文件 10480 2014-01-09 02:21 编译原理\DAG\DAG.rc
文件 1682 2014-01-08 13:06 编译原理\DAG\DAGDoc.cpp
文件 1442 2014-01-08 13:06 编译原理\DAG\DAGDoc.h
文件 17119 2014-01-09 16:23 编译原理\DAG\DAGView.cpp
文件 3111 2014-01-09 01:16 编译原理\DAG\DAGView.h
目录 0 2014-01-10 16:52 编译原理\DAG\Debug\
文件 151606 2014-01-09 16:23 编译原理\DAG\Debug\DAG.exe
文件 439576 2014-01-09 16:23 编译原理\DAG\Debug\DAG.ilk
文件 34306 2014-01-09 01:16 编译原理\DAG\Debug\DAG.obj
文件 5497728 2014-01-08 13:09 编译原理\DAG\Debug\DAG.pch
文件 566272 2014-01-09 16:23 编译原理\DAG\Debug\DAG.pdb
文件 6760 2014-01-09 02:21 编译原理\DAG\Debug\DAG.res
文件 14452 2014-01-08 13:09 编译原理\DAG\Debug\DAGDoc.obj
文件 97072 2014-01-09 16:23 编译原理\DAG\Debug\DAGView.obj
文件 19715 2014-01-08 23:51 编译原理\DAG\Debug\MainFrm.obj
文件 105524 2014-01-08 13:09 编译原理\DAG\Debug\StdAfx.obj
文件 263168 2014-01-09 19:31 编译原理\DAG\Debug\vc60.idb
文件 462848 2014-01-09 16:23 编译原理\DAG\Debug\vc60.pdb
文件 95 2014-01-09 16:35 编译原理\DAG\In.txt
文件 2457 2014-01-08 23:51 编译原理\DAG\MainFrm.cpp
............此处省略12个文件信息
相关资源
- C语言课程设计
- c语言电子商务系统
- 编译原理c语言编译器
- 编译原理实验-词法分析(c语言代码)
- 宠物管理系统课程设计(源码+数据库
- 北邮-编译原理-词法分析
- c语言课程设计:客房登记系统源码
- 8位竞赛抢答器的课程设计报告.docx
- 现代编译原理-C语言描述
- VC++MFC课程设计的学生成绩管理系统
- C++实现21点游戏
- c++课程设计学生管理系统浙工大源码
- 课程设计: MFC 学生信息管理系统
- dsp课程设计——语音加密.zip
- 编译原理实验报告+代码+使用说明
- 广东工业大学数据结构课程设计航空
- 数据结构课程设计扑克牌排序
- c++课程设计宾馆客房管理系统
- c语言课程设计-职工信息管理系统-单
- 飞机票订购系统C语言课程设计报告全
- c++ 课程设计_中国象棋
- 编译原理课程设计-C语言子集编译器
- 操作系统课程设计(银行家算法)附
- 用c写的航空订票系统 航班信息改变
- 信息论课程设计——LZW编码
- 人员管理系统 c语言源码 课程设计专
- MFC课程设计学生管理系统
- vc++课程设计 让计算机来猜测用户“暗
- 赋值语句翻译c语言实现四元式
- 职工工作量统计系统.rar
评论
共有 条评论