1. c語言scanf輸入float編譯器出錯,編譯器故障
#include<stdio.h>#include<math.h>#include<iostream.h>#include<string>usingnamespacestd;voidmain(){
floata;scanf("%f",&a);cout<<a<<endl;
}
沒問題啊。