ubuntu C++的编写,调试,运行全过程

(1)在你特定的文件下,建立C++文件,命令:touch test_wenjian.cpp(C++后缀) (2)编写C++程序,命令:gedit test_wenjian.cpp (3)编译、调试C++程序,命令:g++ test_wenjian.cpp -o test (4)运行C++程序:命令:./test_wenjian 参考博客:https://blog.csdn.net/lindamtd
相关文章
相关标签/搜索