double change(char c[], int n) //char c[]="123.45";{ double d;stringstream ss;ss<<c;ss>>d;return d;} --- 但是正常都不用char类型的,用string
int i1=2;ofstream output("./1.txt", ios::binary);output.write((char*)(&i1),sizeof(i1)...