#include<string>

When is #include<string> required in order to use strings? Even when I don't use it, I can still incorporate type string names in my code.
That's because it might already be included by another standard header. You can't rely on that.
It's likely to be different with another compiler or even the next version of the one you're using.
Athar, thanks for the explanation. --a2d2
Topic archived. No new replies allowed.