C++报错原因汇总 Q1:为什么`error: 'class std::queue<Person>' has no member named 'pop_back`_0dayI 若谷的博客-CSDN博客
include #include #include #include using namespace std; class Person { public: Person():m_name("null"), m_age(-1){} Person(string name, int age):m_name(name), m_age(age) {} string m_name; int m_age; }; //person对象的 &t) { int temp_num = t.size(); for(int i = 0; i > &t) { int temp_num = t.size(); for(int i = 0; i ' has
https://blog.csdn.net/day_4611/article/details/118805009