请问怎样用deepin编写c语言程序
Tofloor
poster avatar
189******38
deepin
2016-01-23 01:36
Author
有像dev c++这样的软件吗?求解
Reply Favorite View the author
All Replies
1 / 2
To page
u855697021
deepin
2016-01-23 02:26
#1
Eclipse虽然是个Java IDE,不过它可扩展性很强,应该可以通过配置其它插件来写C/C++(虽然我没试过)...
其实最简单的办法就是用编辑器写(vim/emacs/atom/sublime text,可以先配置一下语法高亮、自动完成、调试与编译),然后再直接make,大一点的工程就写Makefile,再大一些的工程就用autoconf...
Reply View the author
linuxersx
deepin
2016-01-23 03:33
#2
vim a.c
输入:
# include

int main(void)
{
  printf("Hello,Deepin!\n");
  return 0;
}
然后按一下esc键,输入:wq,回车就保存了,不想保存的话就输入:q!,只想保存就输入:q
终端输入gcc a.c -o 输出文件名  就可以得到文件了
Reply View the author
macaiyun0629
deepin
2016-01-23 03:36
#3
codeblocks
Reply View the author
u855697021
deepin
2016-01-23 03:48
#4
https://bbs.deepin.org/post/36455
vim a.c
输入:
# include

只想保存应该是:w吧...
感觉不明所以的初学者还是不要用vim了吧...
Reply View the author
loxrve
deepin
2016-01-23 03:50
#5
https://bbs.deepin.org/post/36455
vim a.c
输入:
# include

谢谢指教!~
Reply View the author
Deepin大法好
deepin
2016-01-23 04:15
#6
codeblocks这个集成开发环境挺好用的,我平时写点小程序的话会用gedit写代码,然后用gcc编译
Reply View the author
jiangying
deepin
2016-01-23 04:25
#7
vim + gcc
Reply View the author
zouqilin
deepin
2016-01-23 04:27
#8
vim + gcc
Reply View the author
xliang9550
deepin
2016-01-23 04:49
#9
只要有编译器就可以。推荐gcc或者Clang。
如果需要IDE,可以用Code::Blocks或者Geany。
Reply View the author
Feng Yu
deepin
2016-01-23 05:37
#10
qtcreator也是一个不可多得的IDE。

但是注意,只要有编译器和文本编辑器即可开发,而不是IDE。你学的是这门语言,而不是IDE工具
Reply View the author
OnRoad
deepin
2016-01-23 06:14
#11
https://bbs.deepin.org/post/36455
qtcreator也是一个不可多得的IDE。

但是注意,只要有编译器和文本编辑器即可开发,而不是IDE。你学的是这 ...

同意!{:4_99:}
Reply View the author
jhkwei
deepin
2016-01-23 18:28
#12
sudo apt-get install eclipse eclipse-cdt
还是不错的
Reply View the author
136******54
deepin
2016-01-23 20:53
#13
https://bbs.deepin.org/post/36455
qtcreator也是一个不可多得的IDE。

但是注意,只要有编译器和文本编辑器即可开发,而不是IDE。你学的是这 ...

+1
只要有编译器和文件编辑器即可,不过楼主要是非要用IDE,看看这个
http://wiki.deepin.org/index.php ... 1.E7.8E.AF.E5.A2.83
Reply View the author
zszszsz
deepin
2016-01-24 08:16
#14
为啥一水的编辑器之神,为啥没有神之编辑器
Reply View the author
zszszsz
deepin
2016-01-24 08:17
#15
推荐你用sublime text,实在不行gedit其实也不错
Reply View the author
moonlin
deepin
2016-01-24 08:57
#16
Code::Blocks
另外推荐下另一个挺好用的IDE:CLion
楼上说的挺对的,学语言不是学环境,不过有个得心用手的开发环境也挺重要的
注:这两个我都是在windows下用过,我开始用linux时已经不学C了,但是在windows下它们发挥很出色,当然,肯定是没vs出色……
Reply View the author
asdfghjkl
deepin
2016-01-30 12:15
#17

深度下,商店里有VIM,没搜到GCC啊?
Reply View the author
paopao123
deepin
2016-01-30 17:23
#18
https://bbs.deepin.org/post/36455
深度下,商店里有VIM,没搜到GCC啊?

系统自带GCC,没有的话sudo apt-get install gcc
在终端里运行
Reply View the author
Lotuso
deepin
2016-01-30 17:31
#19
用 QT吧,比DEV强大
Reply View the author
asdfghjkl
deepin
2016-01-31 05:56
#20
https://bbs.deepin.org/post/36455
系统自带GCC,没有的话sudo apt-get install gcc
在终端里运行

怎么打开linux下的软件呢,我查了网上和深度帮助里,都没有怎么打开GCC软件的操作说明。例如深度EMACS直接找商店图标,点击打开就可以了。
Reply View the author
1 / 2
To page