在WINDOWS下 三步快速配置 eclipse c++ 环境

所需软件

1.Eclipse IDE for C/C++ Developers

http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/junosr2

 

2.MinGW Distro - nuwen.net

http://nuwen.net/mingw.html

 


MinGW配置


1.解压MinGW到C盘    得到C:\MinGW
2.配置环境变量

 

CPLUS_INCLUDE_PATH

C:\MinGW\include\c++\4.8.1;C:\MinGW\include\c++\4.8.1\i686-pc-mingw32;C:\MinGW\include\c++\4.8.1\backward;C:\MinGW\include

(4.8.1根据你所下载的MinGW里面的版本号进行修改)

C_INCLUDE_PATH

C:\MinGW\include

LIBRARY_PATH

 

C:\MinGW\lib

 

Path

 

C:\MinGW\bin;%path%

 

 

Eclispe配置

1.解压缩eclipse到某一目录
2.启动eclipse
3.Project->Properties->C/C++ Build->Settings->Binary Parsers 勾选PE Windows Parse
4.新建C++项目,选择MinGW GCC

5.程序写好后,一定要build,点击锤子图标,快捷键ctrl+b


6.run



资源下载

C++ Primer Fifth Edition 英文彩色带书签 http://download.csdn.net/detail/kingeasternsun/5529053
C++ Primer Plus (6th Edition)  英文原版 彩色带书签http://download.csdn.net/detail/kingeasternsun/5508691


 

posted @ 2013-06-24 20:58  爱生活,爱编程  阅读(272)  评论(0编辑  收藏  举报