我有一个list:
list
list<Student>* l;
我想在指定的索引处获取一个元素.例:
l->get(4)//getting 4th element
有没有一个功能或方法list 可以让它这样做?
c++ get list
c++ ×1
get ×1
list ×1