void max_idxs(vector<int> &pidxs){
vector<fragment *> ids;
max_ids(ids);
for(size_t i = 0; i < ids.size(); i++){
int weight_idx = ids[i]->weight_idx; //Get weight index
}
}
In this C++ code, what does it mean by int weight_idx = ids[i]->weight_idx;
?
What does ->
mean?
Thanks!