摘要: 2两方法: 使用math中的宏定义M_PI; 利用arccos(-1) = π,来计算π值; #include <iostream> #include <iomanip> #define _USE_MATH_DEFINES // 使用math.h中的M_PI宏定义需要 #include <math. 阅读全文
posted @ 2021-10-25 00:00 明明1109 阅读(7922) 评论(0) 推荐(1) 编辑