useful C++ macros C++
来源:互联网 发布:免费的网络摄像头 编辑:程序博客网 时间:2024/06/06 00:37
#define _FUNCTION_NAME_ __FUNCTION__
#define _FUNCTION_SIGNATURE_ __FUNCSIG__
#define _SOURCE_FILE_NAME_ __FILE__
#define _COMPILE_TIME_ __TIME__
#define _COMPILE_DATE_ __DATE__
#define _CURRENT_LINE_ __LINE__s
#define _COMPILE_TIMESTAMP_ __TIMESTAMP__
#if defined(cplusplus) || defined(__cplusplus)
extern "C"{#endif
//content goes here
#if defined(cplusplus) || defined(__cplusplus)}#endif
http://msdn.microsoft.com/en-us/library/b0084kay%28v=VS.80%29.aspx
- useful macros
- C's Predefined Macros
- several useful macros
- useful C++ macros C++
- C++, macros, and job security
- C/C++ Standard Predefined Macros
- 再看C/C++中的宏(Macros)
- C macros __LINE__, __FILE__ and __func__
- C macros __LINE__, __FILE__ and __func__
- Pre-defined C/C++ Compiler Macros
- C macros __LINE__, __FILE__ and __func__
- C macros __LINE__, __FILE__ and __func__
- C/C++变长参数宏(Variadic Macros)
- Useful GCC flags for C
- some macros and extension C language of IAR C compiler
- some macros and extension C language of IAR C compiler
- Some weird but useful C code
- Do-While and if-else statements in C/C++ macros
- vector::erase()方法的详细介绍及问题解答
- SERV-U服务器状态信息符列表
- 赋值
- Spring_001_初步配置
- FTP信息代码大全
- useful C++ macros C++
- 2012.12.2(抽象类和抽象方法的区别)
- MFC获取控件位置
- How to Get Startup Ideas
- 僵尸进程
- Mapbar的基本算法
- C语言实现UPnP自动端口映射
- 黑马程序员_c#面向对象基础:聊天机器人
- Java环境变量的配置