Easy to learn, use programming
int turn string
int infor2 = (int)readdata[i];//int数据
CString info2;
info2.Format(_T("%d"), infor2);
float switch string
float num = (float)readdata[i];//float数据
ostringstream num_float;
string str(num_float.str());
Similarly two methods, a method can be selected according to the actual situation, for the same reason double type.