在deepin下,用什么软件来编写c程序
Tofloor
poster avatar
haimi
deepin
2018-01-07 05:56
Author
我正在学习c语言,求一个能在deepin中用的软件
Reply Favorite View the author
All Replies
avatar
comzhong
deepin
2018-01-07 06:20
#1
下载安装:http://download.qt.io/official_releases/qt/5.6/5.6.3/qt-opensource-linux-x64-5.6.3.run
(不推荐最新的是因为现在deepin自带的是 Qt 5.6 运行库)

安装:build-essential gcc g++ gdb cmake git gl
  1. sudo apt-get update
  2. sudo apt-get install build-essential gcc g++ gdb cmake git
  3. sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

  4. sudo ln -s /usr/lib/i386-linux-gnu/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
  5. sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so
Copy the Code
Reply View the author
avatar
ss******97@vip.qq.com
deepin
2018-01-07 06:31
#2
可以试试CLion
Reply View the author
avatar
haimi
deepin
2018-01-07 06:56
#3
https://bbs.deepin.org/post/151305
下载安装:http://download.qt.io/official_releases/qt/5.6/5.6.3/qt-opensource-linux-x64-5.6.3.run
( ...

这是什么
Reply View the author
avatar
159******79
deepin
2018-01-07 07:04
#4
codeblocks
Reply View the author
avatar
jiangzm
deepin
2018-01-07 07:09
#5
推荐clion和codeblocks
Reply View the author
avatar
s***7@gmail.com
deepin
2018-01-07 07:11
#6
qt可以写C/C++,一条命令就能装好:
Reply View the author
avatar
s***7@gmail.com
deepin
2018-01-07 07:11
#7
sudo apt install qtcreator qt5-default
Reply View the author
avatar
180******66
deepin
2018-01-07 07:27
#8
codeblocks
Reply View the author
avatar
aName
deepin
2018-01-07 07:44
#9
c不是装上gcc,然后随便一个文本编辑器就能写么
Reply View the author
avatar
aName
deepin
2018-01-07 07:46
#10
vscode写代码,ctrl `打开内置终端编译,舒服
Reply View the author
avatar
RedPanda
deepin
2018-01-07 07:54
#11
codeblocks挺好用,还能报错。要是只想随便写写然后运行看下结果,直接就用gcc和vim就好咯。
Reply View the author
avatar
152******14
deepin
2018-01-07 08:36
#12
终端 vi  main.c  就够用了
Reply View the author
avatar
haimi
deepin
2018-01-08 06:34
#13
https://bbs.deepin.org/post/151305
下载安装:http://download.qt.io/official_releases/qt/5.6/5.6.3/qt-opensource-linux-x64-5.6.3.run
( ...

输入你那个安装指令,它提示我未找到命令
Reply View the author
avatar
comzhong
deepin
2018-01-08 06:52
#14
https://bbs.deepin.org/post/151305
输入你那个安装指令,它提示我未找到命令


你输错了吧!


Reply View the author
avatar
yuansu
deepin
2018-01-08 13:36
#15
Clion比较好用~~
Reply View the author
avatar
Hac_Rain
deepin
2018-10-22 02:49
#16
不用下软件啊,deepin本身就带着编辑器,打开终端,用“vim 文件名.c”进行编辑源文件,然后用“gcc 源文件名 -o 生成文件名” 生成可执行文件,如果出现错误还会有提示,最后直接用“./可执行文件名”就能打开了,很好用
Reply View the author
avatar
司南
deepin
2018-10-22 03:05
#17
vscode应该有C语言的开发编译插件吧
Reply View the author
avatar
151******75
deepin
2018-10-22 03:53
#18
强烈推荐clion,除了内存占用较大这一个缺点外,其他就没有什么短处了。
Reply View the author