语言实验
i07162056
这个作者很懒,什么都没留下…
展开
-
C++ \__VA_ARGS__ 在变参数模板类(Vardic template class) 中的使用
C++ __VA_ARGS__ 在变参数模板类(Vardic template class) 中的使用 C++ 中 __VA_ARGS__ 宏的一个一般用法是实现可变参数的传递功能,例如 #define DEBUG_LOG(const char *fmt, ...) \ do { \ char dbgbuf[1024]; \ sprintf(dbgbuf, f...原创 2018-08-19 00:48:12 · 1078 阅读 · 0 评论 -
C/C++调试之 读取并监视CRT或进程堆中的数组
C/C++ 调试之读取堆中的数组 以下是最近开发中调试时使用的一个头文件 #ifndef DEBUG_TOOLS_H #define DEBUG_TOOLS_H /** * debug_tools.hpp: template class or functions used for debuging. */ /** * StaticArray template type delcar...原创 2018-08-30 00:42:40 · 510 阅读 · 0 评论