macro enter_handler(){ hbuf = GetCurrentBuf(); ln = GetBufLnCur(hbuf); line = GetBufLine(hbuf, ln); len = GetBufLineLength(hbuf, ln); i = 0; j = 0; fl ...
分类:
其他好文 时间:
2016-08-30 07:05:08
阅读次数:
184
操作系统标识宏 查看gcc所定义的宏的命令:cpp -dM /dev/null 命令一: cpp -dM /dev/null 命令二: gcc -dM -E - < /dev/null 1:OS MACRO: WINDOWS: _WIN32、WIN32; UNIX/LINUX: unix、__uni ...
分类:
其他好文 时间:
2016-08-18 19:54:25
阅读次数:
159
Today, I fix one ccr of wording change. One solution I chose is to use macro to replace the string. Like this one, #define REPLCE_STRING _T("coding") ...
分类:
其他好文 时间:
2016-08-15 22:18:41
阅读次数:
172
参考 setuptools安装出错参考 出错参考 configure.ac:418: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL If this token and others are legitimate, please use m ...
分类:
其他好文 时间:
2016-08-07 13:41:33
阅读次数:
177
转载于:http://www.cnblogs.com/macro-cheng/archive/2011/10/25/mysql-001.html 一 下载MySQL 访问MySQL的官网http://www.mysql.com/downloads/ 然后在页面中会看到“MySQL Community ...
分类:
数据库 时间:
2016-07-21 17:46:23
阅读次数:
190
1、 參考:C #define macro for debug 2、 參考:C #define macro for debugging 這兩個均是在GCC編譯環境下進行的。 ...
分类:
系统相关 时间:
2016-07-08 00:07:42
阅读次数:
248
#macro( PageInfo $pager ) 共$!{pager.recCount}条记录 第$!{pager.pageIndex}/$!{pager.pageCount}页 <input type="hidden" id="pageNum" value=" ...
分类:
其他好文 时间:
2016-07-05 18:48:45
阅读次数:
255
Macros A definition that takes arguments, particularly more than one, is often known as a macro: #define SQUARE(x) x * x Incidentally, the previous de ...
分类:
其他好文 时间:
2016-07-05 18:27:38
阅读次数:
269
log4cplus支持用户自定义日志等级,操作也比较简单,使用之前贴如下宏定义 #define LOG4CPLUS_MACRO_CREASH_LOG_LEVEL(pred) LOG4CPLUS_UNLIKELY(pred) namespace log4cplus { const LogLevel C ...
分类:
其他好文 时间:
2016-06-27 22:58:47
阅读次数:
247