且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法打开包含文件“线程"

更新时间:2023-09-15 16:59:34

您的编译器不支持 C++11,因此您需要升级/更改编译器.似乎 VS2012 支持它:http://msdn.microsoft.com/en-us/library/vstudio/hh567368.aspx.

Your compiler does not support C++11, so you need to upgrade/change the compiler. It seems that VS2012 supports it: http://msdn.microsoft.com/en-us/library/vstudio/hh567368.aspx.

至于 C++11 标准库,我们没有一个漂亮的特性表,但是 Visual Studio 2012 中的 Visual C++ 确实实现了它(...)新标头:atomic、chrono、condition_variable、future、mutex、ratio、scoped_allocator 和 thread.

As for the C++11 Standard Library, we don't have a pretty table of features, but Visual C++ in Visual Studio 2012 does implement it (...) New headers: atomic, chrono, condition_variable, future, mutex, ratio, scoped_allocator, and thread.

关于 C++11 支持的更多链接:

Few more links about C++11 support:

http://cpprocks.com/c11-compiler-support-shootout-visual-studio-gcc-clang-intel/

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=118165827