在Visual Studio 2022中无法开源文件
目前,我正在尝试使用< iostream>
进行简单的放置和输入游戏,但是每当我键入#include< iostream>
时,一个错误会出现。开源文件“ iostream”。“我试图复制文件路径,但就我个人而言,即使使用教程,我也不知道该怎么做。
这是我的代码:
#include <iostream>
using namespace std;
int main()
{
cout << "Welcome human!\n" << endl;
return 0;
}
如果您响应如何执行文件目录,请说明您最近开始向C ++初学者解释它。 :)
Currently, I am trying to make a simple out put and input game using <iostream>
but whenever I type #include <iostream>
an error pops up saying "cannot open source file "iostream."" I have tried to copy the file path, but personally, I have no idea how to do that, even with tutorials.
Here is my code:
#include <iostream>
using namespace std;
int main()
{
cout << "Welcome human!\n" << endl;
return 0;
}
If you respond on how to do the file directory, do explain like you are trying to explain it to a c++ beginner since I recently started. :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论