Why MS Visual Studio 2008 has 2 copies of <sstream> STL file?
This and this.
"c:\Program Files\Microsoft Visual Studio 9.0\VC\crt\src\sstream"
"c:\Program Files\Microsoft Visual Studio 9.0\VC\include\sstream"
And the files have small di开发者_如何学编程fferences. Why 2 files ? Thank you.
I don't know why the files are different, but the one in the src directory is part of the runtime library source, and shouldn't be used by users of the library. The other file is the one included when you do #include <sstream>
.
精彩评论