网站介绍:文章浏览阅读729次。给头文件添加宏定义,可用于有内容的头文件和无内容文件,自动获取文件名称添加,格式如下://XXX为当前文件名称#ifndef __XXX_H_ #define __XXX_H_ #endif。宏定义实现如下:macro AddHeader(){ hwnd = GetCurrentWnd() hbuf = GetCurrentBuf(); szfile = GetBufName(hbuf) maxln = GetWndLineCount (hwnd) filelen = _source insight #ifndef
- 链接地址:https://blog.csdn.net/soldier_d/article/details/115272790
- 链接标题:sourceinsight宏命令添加头文件宏定义#ifndef#define#endif 自动获取文件名称_source insight #ifndef-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:7709
- 网站标签:source insight #ifndef