为什么 MS Visual Studio 2008 有 2 个副本STL 文件?

发布于 2024-08-15 03:30:52 字数 196 浏览 1 评论 0原文

这个和这个。

“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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

热血少△年 2024-08-22 03:30:52

我不知道为什么这些文件不同,但 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>.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文