摘要: string mystr="100"; float price=200; stringstream(mystr) >> price; 阅读全文
posted @ 2009-10-23 15:18 Fan Zhang 阅读(177) 评论(0) 推荐(0)
摘要: ifstream in("STLExtension.h",ios::ate); if (in.is_open()) { cout << "file length is " << in.tellg() << endl; } 阅读全文
posted @ 2009-10-23 14:52 Fan Zhang 阅读(212) 评论(0) 推荐(0)