问题描述
你好,
我正在尝试使用visual studio 2017学习c ++编程语言。不幸的是,每当我编写程序时,它都会显示一个对话框,说明项目已经完成约会,并要求建立它。我点击了yes选项,它表示"有
是构建错误。你想继续并运行上一次成功的构建吗?"。
i am trying to learn c++ programming language with visual studio 2017. Unfortunately, whenever i am writing a program it shows a dialog box stating that project is out of date and ask to build it. I clicked on the yes option, it is stating that "There were build errors.Would you like to continue and run the last successful build?.
我点击了选项是的,再次。它打开另一个对话框,指出"无法启动程序"c:\users \ priyanka \documents \ visual studio 2017 \projects\first\debug\first.exe'。系统找不到指定的文件。
I clicked the option yes again. It opens another dialog box stating that "Unable to start the program 'c:\users\priyanka\documents\visual studio 2017\projects\first\debug\first.exe'. The system cannot find the file specified.
我的程序是:
#include< iostream.h>
使用命名空间std;
$
int main()
{
cout<< "first program\\\
";
返回0;
}
#include <iostream.h>
using namespace std;
int main()
{
cout << "first program\n";
return 0;
}
请帮忙!!对我来说这是令人恼火和失去动力。
please help!! It is irritating and demotivating for me.
推荐答案
#include< iostream>
如果有错误,请点击"否" "在"存在构建错误"对话框中,然后查看错误列表并提供详细信息。
这篇关于视觉工作室2017的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!