常量值不能改变,对常量初始化以后不能再对其进行赋值 const double PI=3.1415926 用const来定义常量 转载于:https://www.cnblogs.com/cplusplus-study/p/4517036.html