gpt4 book ai didi

c++ - 如何在 Visual Studio Express 2013 中使用 C++ <文件系统>?

转载 作者:太空狗 更新时间:2023-10-29 20:59:01 25 4
gpt4 key购买 nike

<分区>

我一直在尝试在 VS Express 2013 中使用 C++ 14 实验性文件系统功能,但没有成功。如果我添加以下行代码编译;

#include <filesystem>

添加以下内容后;

using std::tr2::sys;

代码确实编译并给出了以下错误信息:

Error   1   error C2873: 'std::tr2::sys' : symbol cannot be used in a using-declaration

我如何正确使用文件系统。试图访问http://msdn.microsoft.com/en-us/library/hh874694并且找不到关于如何使用它的明确解释。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com