OC 宏和预编译 #import #define PI 3.1415926#define TOW_PI PI*2#define NO_CHESS "+"#define GIRTH(r) (PI*2*(r))#define AREA(r) (PI*(r)*(r))//宏的参数一定要括号起来#define iPad#define AGE 20//#undef PI//结束宏的范围 IOS 2023-12-03 38 点赞 0 评论 57 浏览