不会用就直接复制粘贴

#define CURSOR(top,bottom) (((top)<<8)|(bottom))
#define mul(x1,x2) (x1*x2)
#define WIDTH 8
#define LENGTH (WIDTH+10) /**
*
* check is c++ compiler
*/
#if !defined(__cplusplus)
#error c++ compiler requires
#endif #if defined(CLANG)//if defined CLANG use below code
void compiler()
{
std::cout<<"use clang"<<std::endl;
}
#elif defined(GUNC)
void compiler()
{
std::cout<<"use gunc++"<<std::endl;
}
#else
void compiler()
{
std::cout<<"unknown compiler"<<std::endl;
}
#endif #define DLEVEL 5 #if DLEVEL > 5
#define SIGNAL 1
#if STACKUSE == 1
#define STACK 200
#else
#define STACK 100
#endif
#else
#define SIGNAL 0
#if STACKUSE == 1
#define LEVEL 1
#define STACK 100
#else
#define STACK 50
#endif
#endif
#if LEVEL == 0
#define STACK 0
#elif DELEVEL == 1
#define STACK 100
#elif DLEVEL > 5
display(debugptr);
#else
#define STACK 200
#endif /* EXAMPLE.H - Example header file*/
#if !defined(EXAMPLE_H)
#define EXAMPLE_H
class Example
{ };
#endif /**
*
*Visual Studio 2017 version 15.3 and later,检查库头文件是否包含
*/
#
#ifdef _has_include
# if _has_include(<filesystem>)
# inculde <filesystem>
# define have_filesystem
# elif _has_include(<experimental/filesystem>)
# include <experimental/filesystem>
# define have_filesystem
# define experimental_filesystem
# else
# define have_filesystem
# endif
#endif #ifndef test
#define final
#endif //has no effect
# //stringizing 操作符转换宏指令参数成字符串字面量.
//比如下面这句 "This: \" prints an escaped double quote"
#define stringer(x) printf(#x "\n") #define F int
#define B def
#define FB(arg) #arg
#define FB1(arg) FB(arg)

最新文章

  1. Training
  2. PostgreSQL Replication之第十章 配置Slony(5)
  3. CF 103E Buying Sets 最大权闭合子图,匹配 难度:4
  4. tcp,第一个例子,客户端,服务端
  5. 9个超绚丽的HTML5 3D图片动画特效
  6. Less 导入命令 @import
  7. usaco3.33Camelot(BFS)
  8. 关于C#与.NET Framework
  9. ASP.NET自定义控件组件开发 第五章 模板控件开发
  10. 【.net 深呼吸】项目中是否有必要删去多余的引用
  11. 微信小程序wx.navigateTo层叠5次限制,特殊情况的建议
  12. TCP/IP中你不得不知的十大秘密
  13. fb27a9aeaf604597826718c467cc9f4f 为什么我老收到这个
  14. JS(JavaScript)的进一步了解3(更新中&#183;&#183;&#183;)
  15. 锋利的jQuery初学(1)
  16. css3动画transition animation
  17. saltstack主机管理项目【day23】:主机管理项目需求分析-设计
  18. 2018.10.14 loj#516. DP 一般看规律(启发式合并)
  19. php 查看使用多少内存
  20. result-charts

热门文章

  1. 微信小程序des加密、PHP des解密
  2. Oracle(二)在 Mysql 的基础上学习 Oracle
  3. 王者荣耀交流协会第5次Scrum立会
  4. Python 实现累加计数的几种方法
  5. CentOS 6.9搭建CDH 5.12.0集成环境
  6. Maven用途
  7. 常见模块(五) random模块
  8. Mad LIbs小游戏
  9. python:用wordcloud生成一个文本的词云
  10. Mongo数据库基本操作