linux下,先用emacs编辑文件“test.cpp“。然后在该目录下打开终端(右键空白处,然后选open in terminal),输入命令:g++ -o test test.cpp 这时会生成可编译的test文件,然后再输入命令:./test 就能够出来运行结果了。
  linux系统下,用emacs写c++并编译
  linux系统下,用emacs写c++并编译

相关文章:

  • 2022-01-13
  • 2022-01-29
  • 2022-01-24
  • 2021-07-29
  • 2021-11-30
  • 2022-01-12
  • 2021-11-01
猜你喜欢
  • 2022-03-10
  • 2022-01-18
  • 2022-12-23
  • 2021-11-01
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案