(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

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

参考博客:https://blog.csdn.net/lindamtd/article/details/69466866

相关文章:

  • 2021-10-06
  • 2021-09-03
  • 2021-04-19
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
猜你喜欢
  • 2022-01-07
  • 2022-01-07
  • 2022-12-23
  • 2021-12-18
  • 2021-09-30
  • 2021-09-21
相关资源
相似解决方案