我在哪里可以找到标准模块? [英] Where can I find standard modules?
本文介绍了我在哪里可以找到标准模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试使用模块扩展进行编译:
import std.core;
int main(){
using namespace std;
vector< string> v {"柏拉图","笛卡儿","培根"和"培根"。 };
copy(v.begin(),v.end(),ostream_iterator< string>(cout," \ n"));
}
但我找不到std.core
解决方案
您好,
您必须安装模块:
https://blogs.msdn.microsoft.com/vcblog/2017/05/05/cpp-modules-in-visual- studio-2017 /
I try compile with module extensions:
import std.core; int main() { using namespace std; vector<string> v{ "Plato", "Descartes", "Bacon" }; copy(v.begin(), v.end(), ostream_iterator<string>(cout, "\n")); }
but I can't find std.core
解决方案
Hello,
you must install the modules:
https://blogs.msdn.microsoft.com/vcblog/2017/05/05/cpp-modules-in-visual-studio-2017/
这篇关于我在哪里可以找到标准模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文