由于std::list和std::vector存在,是有什么原因在C++中使用传统的C数组,还是应该尽量避免,只是喜欢malloc?
std::list
std::vector
malloc
c++ arrays conventions
arrays ×1
c++ ×1
conventions ×1