Posted on 2005-08-26 12:18
罗明 阅读(246)
评论(0) 编辑 收藏 所属分类:
C++
- Use std::string instead of char * or char []
- Use standard containers instead of homegrown containers
- Manage your class data to avoid resource leaks and crashes
- Use virtual destructors in class hierarchies
- Use smart pointers instead of raw pointers
版权所有 罗明