gcc編譯C++程序

單個源文件生成可執行程序 下面是一個保存在文件 helloworld.cpp 中一個簡單的 C++ 程序的代碼:  html /* helloworld.cpp */ #include <iostream> int main(int argc,char *argv[]) { std::cout << "hello, world" << std::endl; return(0); }
相關文章
相關標籤/搜索