Home  >  Q&A  >  body text

c++ - 小弟问一下各位前辈,做linux下面的C开发一般用什么IDE和调试工具呢

小弟以前是做产品经理的,最近转行学开发了 C的基础 和 linux下面C开发 也学了点。
以后打算做linux下C开发这一块。不知道这一块目前怎么样。

还有 就是都是跟着书敲代码,开发环境 就是一个虚拟机centos6.5 里面用VIM 写代码 然后 make编译运行 VIM 也没装任何插件。 GDB也处于半懂不懂的状态。

想问一下 各位前辈 一般工作中 大家工作环境都是什么样的呢?

PHPzPHPz2741 days ago1737

reply all(27)I'll reply

  • 怪我咯

    怪我咯2017-04-17 15:28:26

    eclipse+samba

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:28:26

    It’s good to learn to use VIM at the beginning, it is conducive to learning. At work, our company uses codeblocks under ubuntu, and cross-compiling is more convenient.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 15:28:26

    codeblocks, eclipse, qt creator, codelite, vim, emacs. With gcc gdb or llvm lldb clang, I usually use gedit plus clang plus gdb to open it directly.

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 15:28:26

    CLion在Mac上用过,一启动机器就很卡,即便开了优化模式。不过这JB家的IDE确实不错,基于CMake,也支持各种插件,后续版本应该会越来越好的。
    另外如果能习惯VIM,那配合gtags/cscope开发也是很高效的。
    调试器就只有GDB了,基本命令就那么几个,一般开发是不用调试器的,除非遇到棘手的coredump

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 15:28:26

    xmake + vim

    reply
    0
  • 阿神

    阿神2017-04-17 15:28:26

    neovim + gcc/g++ + gdb

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 15:28:26

    I have been struggling with this issue recently, because I used autoconf and automake to build the system, and finally chose vim

    reply
    0
  • 黄舟

    黄舟2017-04-17 15:28:26

    gvim + youcompleteme + syntastic is enough. This learning cost is a little higher. For ready-made IDEs, qtcreator, clion.
    If you want to do server-side development, learning vim is still more useful.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:28:26

    VS Code and Atom, I can’t stop at all

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 15:28:26

    I have been using visual studio code recently, with gcc and gdb, and the experience is not bad, but recently I only use c to write small programs....

    http://jacean.github.io/2016/04/04/vscode configure C-C-compilation and debugging environment/

    reply
    0
  • Cancelreply