类和动态内存分配(2)

·## 改进后的StringBad类:ios //stringbad.h #include <iostream> #ifndef STRINGBAD_H_ #define STRINGBAD_H_ class StringBad { private : char *str; int len; static int num_strings; static const int CINLIM
相关文章
相关标签/搜索