MFC中D的符号//{{的由来
来源:互联网 发布:万网域名账号间转移 编辑:程序博客网 时间:2024/06/11 16:33
Q: MFC中,老会看到这个符号//{{,这个是什么意思,怎么称呼它?在哪本教程的哪里可以了解到这些资料? 如: //{{AFX_VIRTUAL(CTestApp) public: virtual BOOL InitInstance(); //}}AFX_VIRTUAL
A1:
AFX_VIRTUAL
AFX_VIRTUAL
Remarks
ClassWizard and AppWizard insert specially formatted comment delimiters in your source code files to mark the places in your files that ClassWizard can write to. AFX_VIRTUAL is used to mark the beginning and end of virtual function override declarations in a class’s header (.H) file:
//{{AFX_VIRTUAL(classname)
...
//}}AFX_VIRTUAL
There is no corresponding ClassWizard section in the .CPP file.
A2:
向导脚本通过它来寻找特定的代码块,添加新内容时方便操作。
- MFC中D的符号//{{的由来
- 微积分中数学符号的由来
- 有符号类型的最小负数的补码的由来
- 有符号类型的最小负数的补码的由来
- 有符号类型的最小负数的补码的由来
- 编程中编码的由来
- 函数fp()、数组a[i]和箭头符号->的由来
- MFC中error LNK2019: 无法解析的外部符号
- 帕卡贝尔的D大调卡农之由来
- 非对称加密算法的由来(D-H算法)
- while(scanf("%d",&n),n)的意思及由来
- 天龙八部中无名老僧的由来
- 英语中十二个月名称的由来
- 软件缺陷的由来 - 思考中。。。
- Oracle中scott用户的由来
- linux中/usr的由来及内容
- opengl中0x10000的由来
- Ceph中Paxos 算法的由来
- 在RFT中添加clipboard检查点
- 如何使用XDoclet来简化EJB的开发
- 德清县乾元镇德农农村资金互助社开业在即 农村资金互助社软件(浙江版)开始试运行
- linux下普通用户切换为root
- 打游戏
- MFC中D的符号//{{的由来
- 开始学习
- 博客开通了
- SetWindowLong()和 SetClassLong()这两个函数有什么区别?
- 写给渴望从事软件开发的朋友们
- java;jsp;tomcat;mysql;hibernate;j2ee 编码中文乱码完美彻底全面解决方案
- Java线程之Thread-Per-Message Pattern
- 获取上传文件类型!
- 无限极分类绑定TreeView控件效