User profile: BasV

User info
User name:BasV
History
Joined:
Number of posts:41
Latest posts:

std::vector .begin() throwing error
You shouldn't delete &itr. First of all, you're deleting a pointer to the iterator, and you never al...

std::vector .begin() throwing error
The iterator is used correctly in this case, [code](*itr)->[/code] is useful when you have a array o...

Mystery of Vector??
[code]cout << last_pos[/code] has nothing to do with the array! You're just displaying the integer l...

std::vector .begin() throwing error
This code seems ok to me, maybe something is going wrong in your Remove function?

Mystery of Vector??
When you do [code]a[2] = a[last_pos][/code] a[2] becomes 5, but a[last_pos] remain 5 as well. It d...

This user does not accept Private Messages

User: BasV

  • Public profile