I wanted to know ,why still use GCC and editors (i.e.vim or Emacs ), if there are full ides?
Because I found so many people, and sites still explain programming using GCC
I don't want you to feel bored I just want simple answers
I wanted to know ,why still use GCC and editors (i.e.vim or Emacs ), if there are full ides?
Because I found so many people, and sites still explain programming using GCC
I don't want you to feel bored I just want simple answers
IDEs are just glorified editors (like emacs
is). The compilation is still done by a command line compiler (very often GCC or perhaps CLANG). That compilation command is started by the IDE.
And FWIW, it is significant that most free software on Linux coded in C or C++ is using "command line" building utilities (make
, gcc
, autoconf
....). Very few free software are developed using IDEs.
I strongly suggest looking inside existing free software source code. You'll learn a lot.
AFAIK, there is no IDE directly compiling C or C++ code. All IDEs are running some command-line oriented compiler, so it is useful to understand how the gcc
compiler should be invoked (at least to configure your IDE to run gcc
as needed).
My opinion is opposite to yours, I don't understand why people use IDE (with C or C++). I'm very happy with emacs
(I build by pressing F8 there -bound to M-x recompile
- and go to the next error site with F10 -bound to M-x next-error
-. Got that with a couple of lines in my ~/.emacs
file.). And emacs
already has some auto-completion with ESC /. Occasionally I start the debugger under emacs
with M-x gdb
or a shell under emacs
with M-x shell
.
See also this answer with more detailed hints.