• 大小: 1.92MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-25
  • 语言: 其他
  • 标签:

资源简介

编译原理的作业啊,共享给需要的同学。仅参考作用

资源截图

代码片段和文件信息

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

#include “stdafx.h“
#include “Lexer.h“
#include “LexerDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CLexerApp

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

/////////////////////////////////////////////////////////////////////////////
// CLexerApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CLexerApp object

CLexerApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CLexerApp initialization

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

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

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

     文件     131117  2011-05-25 22:18  Lexer\Lexer\Debug\Lexer.exe

     文件    1169896  2011-05-25 22:18  Lexer\Lexer\Debug\Lexer.ilk

     文件      13959  2011-05-25 22:18  Lexer\Lexer\Debug\Lexer.obj

     文件    5493360  2011-05-25 22:18  Lexer\Lexer\Debug\Lexer.pch

     文件     484352  2011-05-25 22:18  Lexer\Lexer\Debug\Lexer.pdb

     文件       2700  2011-05-25 22:18  Lexer\Lexer\Debug\Lexer.res

     文件     110414  2011-05-25 22:18  Lexer\Lexer\Debug\LexerDlg.obj

     文件     105718  2011-05-25 22:18  Lexer\Lexer\Debug\StdAfx.obj

     文件     214016  2011-05-25 22:18  Lexer\Lexer\Debug\vc60.idb

     文件     380928  2011-05-25 22:18  Lexer\Lexer\Debug\vc60.pdb

     文件      20856  2011-05-25 22:18  Lexer\Lexer\Lexer.aps

     文件       1264  2011-05-25 22:18  Lexer\Lexer\Lexer.clw

     文件       2049  2011-05-25 22:18  Lexer\Lexer\Lexer.cpp

     文件       4141  2011-05-25 22:18  Lexer\Lexer\Lexer.dsp

     文件        516  2011-05-25 22:18  Lexer\Lexer\Lexer.dsw

     文件       1313  2011-05-25 22:18  Lexer\Lexer\Lexer.h

     文件      82944  2011-05-25 22:18  Lexer\Lexer\Lexer.ncb

     文件      49664  2011-05-25 22:18  Lexer\Lexer\Lexer.opt

     文件        927  2011-05-25 22:18  Lexer\Lexer\Lexer.plg

     文件       5718  2011-05-25 22:18  Lexer\Lexer\Lexer.rc

     文件      14672  2011-05-25 22:18  Lexer\Lexer\LexerDlg.cpp

     文件       1880  2011-05-25 22:18  Lexer\Lexer\LexerDlg.h

     文件       3561  2011-05-25 22:18  Lexer\Lexer\ReadMe.txt

     文件       1078  2011-05-25 22:18  Lexer\Lexer\res\Lexer.ico

     文件        397  2011-05-25 22:18  Lexer\Lexer\res\Lexer.rc2

     文件        821  2011-05-25 22:18  Lexer\Lexer\resource.h

     文件        207  2011-05-25 22:18  Lexer\Lexer\StdAfx.cpp

     文件       1054  2011-05-25 22:18  Lexer\Lexer\StdAfx.h

     目录          0  2011-05-25 22:18  Lexer\Lexer\Debug

     目录          0  2011-05-25 22:18  Lexer\Lexer\res

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

评论

共有 条评论