JBTALKS.CC
标题:
hello world~帮帮忙。。。
[打印本页]
作者:
anglebaby
时间:
2011-5-18 07:02 PM
标题:
hello world~帮帮忙。。。
我是用microsoft visual c++来写hello world~
写好后我按compile,显示0 error, 0 warning
之后我按execute 他就出现
--------------------Configuration: helloworld - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "Debug/helloworld.exe"
Error executing link.exe.
helloworld.exe - 1 error(s), 0 warning(s)
是什么问题呢??
作者:
anglebaby
时间:
2011-5-18 07:03 PM
这是我写的。。。。
#include <stdio.h>
int main(void)
{
printf("hello world!\n");
return 0;
}
作者:
宅男-兜着走
时间:
2011-5-18 11:11 PM
cannot open file "Debug/helloworld.exe"
很明显的是, IDE 找不到 可执行文件。 手动去开吧。
作者:
win7qi
时间:
2011-5-19 04:28 PM
hahaa..... 忘记怎样写了
作者:
anglebaby
时间:
2011-5-19 08:01 PM
手动哪里找??
作者:
Qio_Bu_Zai
时间:
2011-5-19 10:18 PM
用 dev c++ 來寫吧 比較好用 用google 搜尋一下 就有的下載了
#include <stdio.h>
#include<iostream>
using namespace std;
int main()
{
printf("hello world!\n");
system("pause"); //讓程式執行pause 給你看結果
return 0;
}
作者:
anglebaby
时间:
2011-5-20 07:05 PM
谢谢呀~
如果我一定要用microsoft visual c++来写呢?
作者:
Qio_Bu_Zai
时间:
2011-5-21 12:48 PM
也是可以啊 應該沒差別的
作者:
goodhermit95
时间:
2011-5-30 11:24 PM
你自己开住hello world是吗!他update不到
debug里面的exe
欢迎光临 JBTALKS.CC (https://www.jbtalks.cc/)
Powered by Discuz! X2.5