Question:
Are there any good c++ compilers for noobs?
Natty
2011-07-07 16:00:08 UTC
I'm no noobie to web development. But, I've decided that I would like to give c++ a shot. So far, after having unsuccessfully given MS visual c++ express, borland, and several other compilers a shot; I had finally found one that will let me compile and run the single file code from my lessons and will produce and exe file. Only, it will only run the file in the IDE and the executable will not run because apparently i need to install and hack at tons more stuff to get this thing to work. I desperately need a compiler that has a friendly interface and will allow me to compile and run the code in my c++ book without me having to spend an entire day trying to figure out what needs to be added or how to hack the dang thing to work. I'm not used to using compilers and am getting very frustrated just trying to get a stupid hello.cpp script to compile, run, and produce an exe file that will run outside of the environment. Does a compiler like this actually exist? Can anybody please suggest to me a free c++ compiler that i can use to learn how to write c++ code on?
Three answers:
Ilya
2011-07-07 16:09:16 UTC
GNU gcc/g++ would be probably the best choice. It does not come with IDE, so you'll have to learn how to compile and link your programs from a command line (which is a good thing in itself).

If you really need IDE, try Eclipse or Emacs (my first choice). They both integrate with gcc/g++ and gdb (the GNU debugger).

If you are adventurous enough, you may try cscope + vim, but for them on Windows you'll have to instal cygwin first - probably not worth spending all that much time and effort.
alisha
2016-09-09 14:57:25 UTC
gcc and g++ are the c and c++ compilers which might be by and large established via default. Open a terminal and kind "information gcc" to make certain -- that are supposed to be the default documentation for it. It's a command line compiler, no longer an IDE like Visual C++. You can use GDB for debugging and stepping via methods and make for extra complicated tasks. On Ubuntu the ones are facet of the construct-important kit. But if you're simply studying c all you want is gcc that's by and large established via default since the Linux kernel hyperlinks to the glibc libraries.
Brendan
2011-07-07 16:38:34 UTC
uhh this one is really good not that hard to use they are all pretty hard but C++ can be writin easily on this one>>> http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express



also go here for tutorials :D>>>http://www.codingmix.com



hope this helps.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...