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 <iostream> using namespace std; /* * */ int main(void) { cout << "Hello,World" << endl; return 0; } |
|