为什么 MS Visual Studio 2008 有 2 个副本STL 文件?
这个和这个。
“c:\Program Files\Microsoft Visual Studio 9.0\VC\crt\src\sstream”
“c:\Program Files\Microsoft Visual Studio 9.0\VC\include\sstream”
并且文件有细微差别。为什么是 2 个文件?谢谢。
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 differences. Why 2 files ? Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道为什么这些文件不同,但 src 目录中的文件是运行时库源的一部分,不应该由库的用户使用。另一个文件是您执行
#include
时包含的文件。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>
.