Visual Studio or GCC?

What should you choose to learn cpp programming? Because I know that both have language support, but does it really matter. Should I need to make a choice?

+4
source share
6 answers

If you are just learning, I would recommend g ++, but I would recommend you get the latest. This might be a little more complicated than usual on win32 (you probably have to manually update mingw or something else). That way, you can do a lot of the benefit of installing Linux on a second partition, or on some old PC or something like that.

The main reason I recommend g ++ over VS is the implementation of new bits of the language. MSVC ++ has some of C ++ 0x, but a huge part of it is not. In addition, they got a lot of things wrong and / or in some kind of semi-threading state (and sometimes what they say is "partially implemented" is available only in the C ++ / CLI language, the functions of which they include in their list supported C ++ 0x). g ++, on the other hand, is largely an implementation of the new standard, which people implementing the standard actually implement. It was designed to test new features, etc., and much, much further in the implementation of C ++ 0x than any others I can think of.

Why learn C ++ 0x? Because this is what language will look like now. Why learn the old when you just have to relearn, like everyone else, like me. Since C ++ 0x extends the language and changes the language in different ways, it almost feels completely new. In my opinion, you would recommend yourself just by knowing what the future will be, and not the past (and in the case of VS, as well as the fatigue of the two).

I use VS because I really need it. If I were a beginner today, I would study in g ++ to get all new goodies. I totally wish that I could use it myself.

+1
source

At this point in the training, you should not worry about compilers again. Both are beautiful. The compilation of the nuances of the compiler and, if any difference exists, should occur last, and not at the beginning.

What would you make of the differences now when you start learning a language?

+4
source

I would recommend Visual Studio 2010 express to start with its much friendlier experience, when you have an integrated editor and debugger, if the goal is to learn C ++ with a minimum of distractions, you can download it for free from the link below:

http://www.microsoft.com/express/Downloads/#2010-Visual-CPP

+2
source

Perhaps VS is better for beginners because it has an auto-complete feature.

0
source

Both Visual C ++ and GCC are good compilers. If you want to use GCC, you can try the Qt Creator IDE. It has a very nice text editor with built-in vim. On the other hand, with Visual Studio you have many nice plugins like Visual Assist X, ViEmu, etc.

0
source

GCC is good if you want to create small programs that do not require much management, for example, just say β€œHello world” or work with a few things. In addition, if you want the application to run on many systems, such as Linux or Mac, GCC is the choice.

Otherwise, if you work in Windows and want to create some kind of massive project that requires many complex steps and everything necessary for the assembly, Visual Studio is good.

-2
source

All Articles