摘要:
referenc: https://www.cnblogs.com/moying-wq/p/13843836.html https://blog.csdn.net/KANITAN___/article/details/101990699 https://www.cnblogs.com/qvpengl 阅读全文
posted @ 2021-02-22 22:29
nanfengnan
阅读(598)
评论(0)
推荐(0)
摘要:
#include<iostream> #line 20 "a.cpp" //定义此时__LINE__为20,当前文件名字是a.cpp using namespace std; /* c/c++预定义变量:可以在任何程序中直接使用 1.__LINE__变量:表示当前行(在第几行出现就是第几行) 2._ 阅读全文
posted @ 2021-02-22 22:04
nanfengnan
阅读(126)
评论(0)
推荐(0)
摘要:
#include<iostream> #define to_string(s) #s #define com(x,y) x##y #define ad(x) ( ((x)>0)? -(x):(x)) #define PI 3.14 /* 预处理命令:#define用法和应用 #define x y 阅读全文
posted @ 2021-02-22 18:58
nanfengnan
阅读(385)
评论(0)
推荐(0)

浙公网安备 33010602011771号