========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : SS
========================================================================
AppWizard has created this SS application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your SS application.
SS.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
SS.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CSSApp application class.
SS.cpp
This is the main application source file that contains the application
class CSSApp.
SS.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
SS.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\SS.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file SS.rc.
res\SS.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
For the main frame window:
MainFrm.h, MainFrm.cpp
These files contain the frame class CMainFrame, which is derived from
CFrameWnd and controls all SDI frame features.
res\Toolbar.bmp
This bitmap file is used to create tiled images for the toolbar.
The initial toolbar and status bar are constructed in the CMainFrame
class. Edit this toolbar bitmap using the resource editor, and
update the IDR_MAINFRAME TOOLBAR array in SS.rc to add
toolbar buttons.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
SSDoc.h, SSDoc.cpp - the document
These files contain your CSSDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CSSDoc::Serialize).
SSView.h, SSView.cpp - the view of the document
These files contain your CSSView class.
CSSView objects are used to view CSSDoc objects.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named SS.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
非常不错的词法分析器源程序(完整的报告)
共51个文件
h:13个
cpp:12个
tmp:5个
4星 · 超过85%的资源 需积分: 12 88 下载量 4 浏览量
2008-11-17
18:48:23
上传
评论
收藏 1.03MB RAR 举报
温馨提示
用c语言写的语法分析程序; #if !defined _FENXI_H #define _FENXI_H struct CIFA //保存词法分析结果 { int nType; //0:错误, 1:标志符, 2:数字, 3-:关键字和操作符, -1:结束符 int nValue; //二元式中的值 char szText[20]; //单词 int nAddr; //源文件缓冲区中地址 }; class CFenXi { public: void YuFaFenXi(); //语法分析 void CiFaFenXi(); //词法分析 int m_nErrAddr; //语法错误对应单词的地址 int m_nErrNo; //语法错误代码 char m_str[20000]; //源程序缓冲区 char m_szErrMsg[100][100]; //错误信息表 CIFA * m_cifa[10000]; //词法分析结果 protected: void init(); int m_nCur; //用于语法分析中,指示词法分析结果表中当前的位置 int m_n; //用于词法分析中,用于指示词法分析结果的个数 char m_szKW[50][20]; //关键词表 int FindInKWTab(char *);
资源推荐
资源详情
资源评论
收起资源包目录
.rar (51个子文件)
vc616677824666
MFC469.tmp 381B
SourceEditView.cpp 2KB
OfficeXPMenu.h 10KB
StdAfx.cpp 204B
词法语法分析.doc 210KB
Test.pl0 524B
SS.APS 236KB
SetDlg.h 1KB
Logo.cpp 1KB
SS.dsw 529B
LogoDlg.cpp 993B
SSDoc.cpp 2KB
FenXi.cpp 28KB
SS.opt 49KB
SS.h 1KB
SS.plg 1KB
SSView.cpp 3KB
SourceEditView.h 2KB
MainFrm.h 2KB
SSDoc.h 1KB
MFC46C.tmp 387B
SSView.h 2KB
Logo.h 832B
OfficeXPMenu.cpp 73KB
ReadMe.txt 4KB
StdAfx.h 1KB
ColorPicker.cpp 16KB
MainFrm.cpp 10KB
SetDlg.cpp 1KB
Resource.h 1KB
MFC163.tmp 387B
FenXi.h 2KB
SS.cpp 3KB
SS.ncb 113KB
说明.txt 27KB
res
Splash.bmp 184KB
605.ico 8KB
~VC4DE.tmp 3KB
SS.rc2 394B
1.ico 4KB
Thumbs.db 33KB
toolbar1.bmp 1KB
SSDoc.ico 1KB
Toolbar.bmp 4KB
SS.ico 1KB
~VC2D4.tmp 4KB
SS.rc 14KB
SS.dsp 6KB
SS.clw 4KB
LogoDlg.h 1KB
ColorPicker.h 2KB
共 51 条
- 1
资源评论
- napper_zhao2012-05-26最后的格式好像有点不对
- 沙_砾2012-12-25最后的格式好像有点不对
wyx065747
- 粉丝: 6
- 资源: 114
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Python 版冒泡排序算法源代码
- tensorflow-gpu-2.7.2-cp38-cp38-manylinux2010-x86-64.whl
- tensorflow-2.7.3-cp39-cp39-manylinux2010-x86-64.whl
- tensorflow-2.7.2-cp39-cp39-manylinux2010-x86-64.whl
- Python版本快速排序源代码
- Python 语言版的快速排序算法实现
- 450815388207377安卓_base.apk
- 超微主板 X9DRE-TF+ bios 支持 nvme启动
- 基于Python通过下载气象数据和插值拟合离散数据曲线实现对寒潮过程的能量分析
- 智能车仿真软件.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功