就是零,你不控制小数输出的时候,一直是零
cout<<array[1].getint()<<" "<<setprecision(1)<<fixed<<array[1].getfloat()<<endl;