
C++
文章平均质量分 63
MajorTom33
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【C++】继承与虚函数
作用派生类的构造与释放派生类和基类之间的转换多态虚函数实现原理原创 2022-10-08 09:08:17 · 921 阅读 · 1 评论 -
【C++】c++ 模板参数做容器参数迭代器报错 vector<T>::const_iterator,typename const报错
错误1: template<class T> void temp(std::vector<T>& container) { std::vector<T>::const_iterator p; //error: expected ‘;’ before ‘p’ for(p = container.begin(); p != container.end(); ++p) { //... ...原创 2024-06-13 14:43:09 · 456 阅读 · 0 评论