在vc ++中启动我的第一个程序的问题 [英] problem with starting my first program in vc++

查看:64
本文介绍了在vc ++中启动我的第一个程序的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了Microsoft Visual C ++ 2008 Express Edition.我打开它并制作了一个项目(win32控制台应用程序)和一个代码框内容('C ++文件(.cpp)),然后输入以下代码:

i just downloaded Microsoft Visual C++ 2008 Express Edition. i opened it up and made a project (win32 Console Application) and a code box thing ('C++ File (.cpp)) then put in this code: 

#include< iostream> int main(){std :: cout<< "Hello World!" << std :: endl;返回EXIT_SUCCESS; }.然后我按开始调试(我也尝试了它,而没有调试),这是出现的错误.无法启动程序"C:\ documents and Settings \ Alex Cook \ My Documents \ Visual Studio 2008 \ Projects \ hello world \ Debug \ hello world.exe". (换行符)系统找不到指定的文件,谢谢您的帮助.
#include <iostream> int main() { std::cout << "Hello World!" << std::endl; return EXIT_SUCCESS; } .  then i pressed start debugging ( i also tried it without debugging) here is the error that comes up. unable to start program "C:\documents and Settings\Alex Cook\My Documents\Visual Studio 2008\Projects\hello world\Debug\hello world.exe'.  (newline) the system cannot find the file specified thank you for your help

推荐答案

您的编译失败了吗?看起来像这样-因为未生成exe.
Is your compile failing? Looks like that - since the exe is not getting generated.


这篇关于在vc ++中启动我的第一个程序的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆