如题:
用如下的方法:
string baseLineRead ;
istringstream iss(baseLineRead.c_str());
double baseLine = 0;
iss >> baseLine;
cout << "outPut baseLineDouble = " << baseLine << endl;
参考:
如题:
用如下的方法:
string baseLineRead ;
istringstream iss(baseLineRead.c_str());
double baseLine = 0;
iss >> baseLine;
cout << "outPut baseLineDouble = " << baseLine << endl;
参考: