安装、使用eclipse+CDT编译C++程序

本文详细记录了在Windows环境下安装、配置Eclipse+CDT及MinGW的过程,包括解决编译C++ HelloWorld程序时遇到的'symbol cout could not be resolved'和'cannot run program g++'问题,以及控制台无输出和'Permission denied'错误。通过分析错误原因和查阅资料,最终成功编译运行C++ STL程序。
摘要由CSDN通过智能技术生成

我想安装、使用eclipse+CDT的初衷

在看live555的源码,需要方便管理源码的工具:

使用eclipse编译和管理live555源码

http://blog.csdn.net/nkmnkm/article/details/7403027

 

JDK+Eclipse+CDT+MinGW安装完全版

http://www.newsmth.net/pc/pccon.php?id=6027&nid=157931

 

我的平台:win32

操作系统:win7

eclipse:indigo

 

编译C++的helloworld程序

#include <iostream>
using namespace std;
int main(void)
{
cout<<"Hello Eclipse world!"<<endl;
return 0;
}

symbol cout could not be resolved
cannot run program g++

http://blog.csdn.net/yefengmeander/article/details/81

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值