4 个回复编程07,7th,2007leconte
在C++有两种字符串流,一种在sstream中定义, 另一种在strstream中定义。 它们实现的东西基本一样。 strstream里包含 class strstreambuf; class istrstream; class ostrstream;c++, sstream, 标准库
6 个回复编程06,7th,2007leconte
在c++程序中,内存管理中经常隐藏着很深的bug。 虽然我们一般可以采用vector,string,map等容器自动管理内存, 但涉及多态,继承的时候也不可避免的要手动管理,c++标准库中提供的auto...
auto_ptr, c++, 智能指针, 标准库