using eclipse to write c programe

参考:http://developer.51cto.com/art/200906/126363.htm

        http://www.cnblogs.com/feisky/archive/2010/03/21/1691170.html

1 下载eclipse

eclipse:http://eclipse.org/downloads/packages/release/Galileo/SR2

下载cdt

CDT 6.0.2 for Eclipse Galileo

Eclipse package: Eclipse C/C++ IDE Galileo SR2.

p2 software repository: http://download.eclipse.org/tools/cdt/releases/galileo

2

下载mingw-get-setup.exe并且安装  参考 http://www.jb51.net/softjc/159871.html

      环境变量更新:

  PATH

  .;C:\MinGW\bin;%JAVA_HOME%;

 

      C_INCLUDE_PATH

      C:\MinGW\include

 

  CPLUS_INCLUDE_PATH

  C:\MinGW\include\c++\4.8.1;C:\MinGW\include\c++ \4.8.1\mingw32;C:\MinGW\include\c++\4.8.1\backw

 

3  建立C 工程

file--->new -->C project

posted @ 2015-03-18 09:11  王超_cc  阅读(184)  评论(0编辑  收藏  举报