强制转换解决 从”double”转换到”float”,可能丢失数据

强制类型转换float(a)和(float)a

前者不兼容C,后者兼容C

前者c++风格,后者c风格

Leave a comment

您的电子邮箱地址不会被公开。 必填项已用 * 标注