标题:mingw环境出事情了……
只看楼主
黄昏乐章
Rank: 2
来 自:青岛
等 级:论坛游民
帖 子:73
专家分:25
注 册:2011-6-6
结帖率:88.89%
已结贴  问题点数:20 回复次数:1 
mingw环境出事情了……
在cmd里可以运行会生成exe,但是不会在cmd里显示内容 比如 helloworld啥的
editPlus里
这样设置
程序代码:
#include <iostream>
using namespace std;
int main()
{
cout<<"hello world"<<endl;
cin.get();
return 0;
}

结果出现这样&&…………
---------- gcc编译并生成 ----------
cpp.exe: error: 123.cpp-o123: No such file or directory
cpp.exe: warning: '-x c' after last input file has no effect
cpp.exe: fatal error: no input files
compilation terminated.

2016-04-24 00:09
alice_usnet
Rank: 11Rank: 11Rank: 11Rank: 11
等 级:贵宾
威 望:18
帖 子:370
专家分:2020
注 册:2016-3-7
得分:20 
cpp.exe: error: 123.cpp-o123: No such file or directory
$(FileName) -o $(FileNameNoExt)

未佩好剑,转身便已是江湖
2016-04-24 09:54



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-464050-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.321622 second(s), 9 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved