I was trying to write a simple program for this problem:
Hashit at spoj.pl on code::blocks on a windows system using mingw compiler. Building a hash map was easy enough, though I hadn’t written one before, but when I had an vector
I remember using gdb to debug applications on linux at work, and that is useful enough, I don’t know why I’m not able to see why I can’t read the data in my vectors. Oh well, cout to the rescue.
Anyone know a good way to debug stl with gdb, and since I’m on windows the commandline version is just painful.

Looking forward to good posts on dialyusability.com
shrey dude, sorry to be the bearer of bad news, but I’ve gone to the dark side. No usabiliity(maybe some), for a long time.
so what are you doing for the summers?
Ah STL debugging is a pain even on linux. I usually go for STLPort (http://sourceforge.net/projects/stlport/), cause it has a debug mode, very helpful. I think the DDD frontend for gdb is available on windows too, but in the end the good ol’ Olly32 and sice work better than anything.
The following blog explain pretty well how to debug STL using GDB: http://tromey.com/blog/?p=494
I haven’t tried it on windows though! Please post if you are aware of any better way to do it!