网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

Ubuntu15.0安装测试gcc(C编译环境)

时间:2024-10-12 22:57:08

1、打开终端(快捷键Ctrl+Alt+t)输入sudoapt-getinstallbuild-essential

Ubuntu15.0安装测试gcc(C编译环境)

3、进入到要保存C程序的目录,在终端中输入:gedit hello.c创建并打开hello.c文件

Ubuntu15.0安装测试gcc(C编译环境)

5、输入:sudo gcc hello.c -o hello讲hello.c编译成可执行的hello文件

Ubuntu15.0安装测试gcc(C编译环境)
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com