(原創) 如何将std::string转int,double? (C/C++) (C) (template)
摘要:
std::string为library type,而int、double为built-in type,两者无法利用(int)或(double)的方式互转,这里使用functon template的方式将std::string转int、std::string转double。 阅读全文
posted @ 2008-08-01 16:59 真 OO无双 阅读(61285) 评论(2) 推荐(2) 编辑