[分享]emacs进行c++编程

Vim、Emacs配置和使用
头像
woaiwojia
帖子: 1355
注册时间: 2007-09-10 20:20
系统: Debian
来自: 南京

#16

帖子 woaiwojia » 2008-04-02 16:24

太长了,有时间再学习吧
mkclawhammer
帖子: 3
注册时间: 2007-12-27 12:49

#17

帖子 mkclawhammer » 2008-04-22 22:07

I'm curious about why you prefer use so complicated method to develop c/c++ project. Using powerful IDE such as Eclipse or NetBeans, one could spend zero cost on begining java, c/c++ development. These IDEs are platform independent, and you don't need spend more than 10 minutes on learning them!

You seem like trying to make a text editor + its plugins acting as a IDE. I think you should let the professional tool do a professional thing. You should not fear to learn new things.
xiao2004
帖子: 56
注册时间: 2006-05-15 3:22

Re: [分享]emacs进行c++编程

#18

帖子 xiao2004 » 2008-09-25 18:02

顶上去,
最近转到linux平台的emacs上,有兴趣的一起啊。
有时间我会把一些亲身的体验发上来。
codycody23
帖子: 167
注册时间: 2008-06-19 15:27

Re: [分享]emacs进行c++编程

#19

帖子 codycody23 » 2008-10-06 10:14

支持, 学习ing............
xyywll
帖子: 338
注册时间: 2008-05-24 1:24

Re: [分享]emacs进行c++编程

#20

帖子 xyywll » 2008-10-25 13:52

cedet 一定要用 cvs 版的
头像
Jarson
帖子: 2371
注册时间: 2008-07-21 9:44
来自: 深圳
联系:

Re: [分享]emacs进行c++编程

#21

帖子 Jarson » 2008-10-25 15:16

顶,有空在学习下,谢谢楼主分享。
wangtwo
帖子: 73
注册时间: 2007-05-07 9:42

Re:

#22

帖子 wangtwo » 2008-11-14 14:56

mkclawhammer 写了:I'm curious about why you prefer use so complicated method to develop c/c++ project. Using powerful IDE such as Eclipse or NetBeans, one could spend zero cost on begining java, c/c++ development. These IDEs are platform independent, and you don't need spend more than 10 minutes on learning them!

You seem like trying to make a text editor + its plugins acting as a IDE. I think you should let the professional tool do a professional thing. You should not fear to learn new things.

professional tool do a professional thing! Eamcs 是编辑器, gcc 是编译器, debug 来查错, make 来做工程控制, 等等.

如果把它们粘起来, 可以很好的处理程序. 这是 professional tool do a professional thing. 但是, 把 emacs 打扮成一个 ide, 那么它一定没有专门的 ide 方便和有效. 像 lz 这样, 写 c 是一堆插件, 如果写 java, python ...呢? 又是一堆插件, 这样 emacs 永远是一个二流的 ide. 难道我们的目标是把 vim/emacs 变成二流的 ide 吗!

Unix philosophy ------------McIlroy: A Quarter Century of Unix

This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

让别人体会到 unix 下工具的统一与合作才是重要的. 可惜我现在做不到, 只是像
viewtopic.php?t=45814&highlight=
中说的一样

1. 输入源代码
  
  $ emacs hello.c      >>>> 进入emacs 编辑器环境
  
  #include <stdio.h>           
  int main()
  
  {
  
  printf(“Hello World. ”);  >>>> Emacs环境下,按下 Tab 键,有自动缩进功能
  
  exit(0);
  
  }
  
  完成输入后,按住CTRL 键,按下 x, 再按下 c , 最后松开 CTRL。 >>>> 程序保留并退出emacs 环境。
  
  2. 编译,链接,运行
  
  引用
  
  $ gcc -o hello hello.c
  
  $ ./hello           >>>> ./ 指明了所执行程序的路径
  
  Hello World.
  
  $
  
  一个linux平台上的c程序开发已经完成咯
  
  3. 调试
  
  如果要使用 gdb 调试程序,那么在上一步编译的时候,记得加上 -g 选项
  
  引用
  
  $ gcc -g -o hello hello.c
  
  $ gdb hello           >>>> 进入 gdb 调试环境
v39192
帖子: 9
注册时间: 2009-03-12 18:35

Re: [分享]emacs进行c++编程

#23

帖子 v39192 » 2009-03-18 11:30

强贴啊。顶一个。。但是如果有讲配置语法 的就更好了。。我现在才刚学。。感觉配C/C++环境好难啊。。网上的方法太多了。。
yuanyangliu
帖子: 118
注册时间: 2009-02-05 16:49

Re:

#24

帖子 yuanyangliu » 2009-03-18 12:37

halve 写了:mark~

:em11
http://www.luabbs.com 月光论坛欢迎你
http://game.luabbs.com月光游戏专区
beyond93
帖子: 39
注册时间: 2005-05-06 0:46

Re: [分享]emacs进行c++编程

#25

帖子 beyond93 » 2009-03-18 22:21

请教楼主是否有方法可以快速打开当前目录下包括其子目录(递归)里的某个文件?而不需要输入全路径,
不然每次都得记着哪些文件在哪个目录,很不方便。
谢谢!
phlsbg
帖子: 12
注册时间: 2006-07-13 11:55

Re: [分享]emacs进行c++编程

#26

帖子 phlsbg » 2009-03-20 10:44

我要收藏!
头像
openware
帖子: 173
注册时间: 2009-02-22 14:15
联系:

Re: [分享]emacs进行c++编程

#27

帖子 openware » 2009-09-09 10:43

这个得用到猴年马月才能熟练啊。。
Desire Freedom, Love Beauty, Keep Hacking。
头像
openware
帖子: 173
注册时间: 2009-02-22 14:15
联系:

Re: [分享]emacs进行c++编程

#28

帖子 openware » 2009-09-10 10:00

xiao2004 写了:网上收集了一些资料,共享之...............

公司代理允许访问的网站极少,我极力争取到了ubuntu.org.cn
所以我会把一些在家里搜集的东西,放入其中,包括下载,希望不会对网站空间造成太多的影响
这位兄台,能能在google code上建立一个站点,将你的Emacs配置和扩展都传上去,让我们分享分享?
Desire Freedom, Love Beauty, Keep Hacking。
头像
mkailxr
帖子: 62
注册时间: 2009-10-20 13:13

Re: [分享]emacs进行c++编程

#29

帖子 mkailxr » 2010-10-21 20:42

mark! :em11
头像
fangel16
帖子: 75
注册时间: 2010-07-21 14:51
联系:

Re: [分享]emacs进行c++编程

#30

帖子 fangel16 » 2010-10-22 16:59

收藏 :em11
回复