摘要: 一、使用CRT函数文件操作 二、使用标准C++库 std::fstream std::string 1)std::string对象内部存储了一个C的字符串,以'\0'结尾的。 2)std::string.c_str() 获取string对象中字符串开始的内存地址,兼容C字符串。 3)std::str 阅读全文
posted @ 2017-05-17 18:46 jadeshu 阅读(337) 评论(0) 推荐(0) 编辑