iostream+sstream

Hi,
If I include <iostream> first and then <sstream> all std::cout become undefined.
When I reverse the order of includes it gets resolved.
Why?
Daniel
It shouldn't do than.
And it won't for me. What IDE/compiler do you use?
The following both would work, provided you include them prior to their usage.

1.
1
2
#include <iostream>
#include <sstream> 


2.
1
2
#include <sstream>
#include <iostream> 


I suspect you have come across a different problem.
Thanks MiiNiPaa and jaded7.
I'm using VS2012.

I suspect too that it is something else.
I reversed it again later and there was no problem.
Topic archived. No new replies allowed.