User profile: Peter87

User info
User name:Peter87
Number of posts:10054
Latest posts:

If you need fast random-access you could use std::vector instead of std::list which is probably a be...

If you want be able to access element like that you need to overload the subscript operator. [code]...

Itinerary Code
It depends on what function you want the code to be part of. My suspicion is that you tried to put i...

How can I fix these memory access violations?
[quote]I have reduced it to 1 warning[/quote] Why not reduce it down to zero?

Itinerary Code
You need to put cout, while, etc. inside a function.