C++字符串转换

  string mystr="100";
  float price=200;
  stringstream(mystr) >> price;
posted @ 2009-10-23 15:18  Fan Zhang  阅读(177)  评论(0)    收藏  举报