[Ubuntu10.04] NetBeans IDE 配置C++/C

来源:百度文库 编辑:神马文学网 时间:2024/04/29 12:46:00
1.通过Ubuntu SOftware Center安装NetBeans IDE
2.在NETBEANS中安装C++/C plugin

3.安装gcc g++ build-essential
sudo apt-get install gcc g++ build-essential
4.配置NetBeans

5.Hello World!
/*
* File:   main.cpp
* Author: xiaoqiang
*
* Created on July 16, 2010, 6:50 PM
*/

#include
using namespace std;


/*
*
*/
int main(void) {
cout << "Hello,World" << endl;
return 0;
}