scanf/printf中double的占位符

来源:互联网 发布:java中的^ 编辑:程序博客网 时间:2024/04/30 17:18

使用%lf,例如:

scanf({"%lf", &long_number)