关于项目下的ReadMe文件(vc++ 6.0)
来源:互联网 发布:纹理指纹匹配算法 编辑:程序博客网 时间:2024/05/29 13:07
平时没有留意过这个文件,以为是个空文件。
网上前辈说看这个文件有助于理解VS文件的调用,遂看之,并译之。望共勉
========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : XXX(项目的名字)
========================================================================
AppWizard has created this XXX 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.
应用程序向导已经创建了你的XXX应用。这个应用程序不仅演示了如何使用Microsoft Foundation classes(MFC)的基本原理,而且也是编写你的应用程序的起点。
This file contains a summary of what you will find in each of the files that
make up your XXX application.
这个文件包含了构成XXX应用程序的每一个你可以找到的文件的概要。
XXX.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.
XXX.dsp
这个文件(该工程文件)包含的信息是工程级的,并且用来建立一个独立的项目或是一个子项目。其他用户可以分享该工程文件(.dsp),但是他们得导出本地的makefiles文件。(有想法的童鞋,用记事本打开.dsp文件看吧)
XXX.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CXXXApp application class.
XXX.h
这是应用程序主要的头文件。它包含其他工程指定的头文件(也包括Resource.h)并且指定CXXXApp应用程序的类。
XXX.cpp
This is the main application source file that contains the application
class CXXXApp.
XXX.cpp
这个是主程序的源文件,该文件包含应用程序类CXXXApp.
XXX.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++.
XXX.rc
这是一个程序使用的所有的Microsoft Windows资源的表单。它在RES子目录里存有图标、位图和光标资源。该文件可以直接在Visual C++上编辑。
XXX.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.
XXX.clw
该文件包含的信息用于被类向导编辑现有的类或添加新类。类向导也使用该文件存储所需的信息来创建和编辑消息映射和对话框数据映射,创建函数成员。
res\XXX.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file XXX.rc.
res\XXX.ico
这是一个用于应用程序图标的文件。这图标文件包含在主资源文件XXX.rc里。
res\XXX.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.
res\XXX。rc2
该文件包含了资源,并且不会被VC++编辑。你应该把所有没有被资源编辑器编辑的资源放到这个文件中的。(这个解释有点问题,具体看微软的解释)
/////////////////////////////////////////////////////////////////////////////
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.
MainFrm.h, MainFrm.cpp
这两个文件包含了主框架类CMainFrame,它是派生自CFrameWnd 并且控制着所有SDI(单文档模板)的功能。
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 XXX.rc to add
toolbar buttons.
res\Toolbar.bmp
这个位图用于创建一个平铺图像的工具栏。在CMainFrame类中创建的初始工具栏和状态栏。用资源编译器编辑该工具栏位图,并在XXX.rc更新IDR_MAINFRAME TOOLBAR 的数组以增加工具栏按钮。
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one document type and one view:
类向导创建一个文档类型和一个视图:
XXXDoc.h,XXXDoc.cpp - the document
These files contain your CXXXDoc class. Edit these files to
add your special document data and to implement file saving and loading
(via CXXXDoc::Serialize).
XXXDoc.h,XXXDoc.cpp - 文档
这两个文件包含你的CXXXDoc类。编辑这些文件以添加指定的文档数据并实现文件存储和加载(通过 CXXXDoc::Serialize)。
XXXView.h, XXXView.cpp - the view of the document
These files contain your CXXXView class.
CXXXView objects are used to view CXXXDoc objects.
XXXView.h, XXXView.cpp - 文档的视图
这两个文件包含你的CXXXView类。CXXXView 是CXXXDoc的可视化对象
/////////////////////////////////////////////////////////////////////////////
Other standard files:
其他标准文件:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named XXX.pch and a precompiled types file named StdAfx.obj.
StdAfx.h, StdAfx.cpp
这两个文件用于建立命名为XXX.pch的预编译头文件(PCH)和名为StdAfx.obj的预编译类型文件。
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
Resource.h
该文件是标准头文件,它定义新资源的ID。Microsoft Visual C++读取并改写该文件。
/////////////////////////////////////////////////////////////////////////////
Other notes:
其他注意事项:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
应用向导用 "TODO:"来指示这部分你该添加或自定义源代码。
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.
如果你的应用程序用的MFC的共享DLL模式,并且你的应用程序语言与当前系统的语言不相符,你应从Microsoft Visual C++ CD-ROM复制相对应的本地化资源MFC42XXX.DLL到系统的system32目录下,并改名为MFCLOC.DLL(“XXX”代表语言的缩写。例如,MFC42DEU.DLL包含翻译成德语的资源)。如果你没有这样做,一些UI元素将保持之前的语言在当前系统上。
/////////////////////////////////////////////////////////////////////////////
如有错误的地方,方请多多指正~~
- 关于项目下的ReadMe文件(vc++ 6.0)
- 关于内核的readme文件解读
- 如何编写github项目的README.md文件?
- VC环境下,插入汇编文件到项目的方法
- 童话般的readme 文件
- FingerGestures插件的readme文件
- 为项目编写Readme.MD文件
- 为项目编写Readme.MD文件
- 为项目编写Readme.MD文件
- 为项目编写Readme.MD文件
- 为项目编写README.md文件
- 为项目编写Readme.MD文件
- 为项目编写Readme.MD文件
- 【Github】为项目编写Readme.MD文件
- 关于VC下XML文件的调试心得
- 关于如何在github的README.md文件内添加图片的教程
- 关于VC++的头文件
- 查找该目录下指定文件类型的用 vc 6.0 编写 的关于文件搜索的例子
- vi 命令 用法
- 101个鲜为人知的超实用网站
- vc环境下gtk编程编译错误(123.obj : error LNK2001: unresolved external symbol _gtk_main)
- Oracle Managing UNDO
- VirtualBox虚拟机网络设置(四种方式)
- 关于项目下的ReadMe文件(vc++ 6.0)
- 无头结点链表的增、删、改、查
- Showing a Spring transaction in log4j
- linux grep命令
- 数据库分页技术
- 收集的一些蓝牙4.0 BLE开发资料
- APACHE 优化
- 搜狗2013校园招聘java笔试题分析(个人的一点分析拙见,不到之处请不吝赐教)
- opencv-图像金字塔-上采样-下采样