CentOS Stream 9—— C/C++ gcc(c/c++编译器安装)
sudo su
yum groupinstall 'Development Tools'
yum install ccache
vim helloworld.cpp
#include <iostream> using namespace std; int main() { std::cout << "Hello world" << std::endl; return 0; }
ccache g++ helloworld.cpp -o helloworld
./helloworld

------------------------------------
承接
**视觉检测软件开发及调试
**工业软件开发
**上位机软件开发
wechat:luoran2024
qq:565934058
email:taoyuansu@qq.com
海量教育资源及影视资源下载
微信公众号:EFun科技
------------------------------------

浙公网安备 33010602011771号