- #1
- 4,859
- 6
Could anyone recommend a good C++ compiler program. I'd rather get a recommendation than choose from the myriad on the net.
Thanks
Thanks
Yah, if you can already use the gnu tools, then g++ is certainly a good choice.Kurdt said:I've got the GNU fortran compiler and its been quite good so I was looking at their C++ but its always good to get recommendations. I'll have a look at that microsoft one.
Thanks Hurkyl and ranger.
Is there that much difference? Must admit I didn't read 2ed very much - I already knew C++ when I bought it, the 3ed is nice but I didn't think many new language features had been added.KTC said:Erm no. 3rd edition at the least.
mgb_phys said:If you mean learn about the vs2008 ide then microsoft's online dos are good.
For learning C++ you really want to splash out on the "C++ Programming language" by the inventor Bjarne Stroustrup.
The 2nd ed is pretty much as good as the latest for beginners, you should be able to find it cheaply on amazon marketplace. The online C++ faqs are also usefull.
mgb_phys said:Malawi:
...
QT or wxWidgets are great for cross paltform guis, both have slightly different styles wx is more natural if you come from windows MFC programming, QT is easier if your background is X.
mgb_phys said:QT isn't a pure C++ toolkit it is a set of macros that are compiled into C++ by the moc.
It (until recently) emulated widgets so never looked native and had issues with themes, it is expensive if you are shipping commercial apps. It also (IFIRC) only handles gui it doesn't provide cross platform file/network APIs.
wxWidgets uses native guis on each platform, it provides extra APIs for other cross paltform stuff but it does use MFC style macros to route events.
MFC suffers from having been invented before C++ was as a capable as it is now and so you have to do a lot with macros. It is a wrapper around the win32 api but that isn't an objection - QT is a moc/C++ wrapper around the unix C stdlib. C is a wrapper around the processor assembly language!
Both MFC and wxWidgets also provide a lot of application framework code, MVC etc. You can ignore them if you like but they do save writing it from scratch each time. I think QT4 is adding some framework support.
A C++ compiler program is a software tool used to translate human-readable source code written in the C++ programming language into machine-readable instructions. These instructions can then be executed by a computer to perform a desired task.
Choosing the right C++ compiler program is important because it directly affects the quality and performance of your code. A good compiler can optimize your code, resulting in faster execution and fewer bugs. Additionally, different compilers may have different features and compatibility with certain libraries, so it's important to find one that suits your specific needs.
The right C++ compiler program for you will depend on your specific needs and preferences. Some factors to consider when choosing a compiler include its compatibility with your operating system, the size and complexity of your project, and any specific features or optimizations you require. It's also helpful to read reviews and compare the performance of different compilers.
Yes, there are many free C++ compiler programs available, such as GCC, Clang, and Microsoft Visual Studio Community. These compilers are open-source and can be downloaded for free, making them a great option for students and hobbyists.
Yes, there are some C++ compiler programs that are cross-platform, meaning they can be used to compile code for different operating systems. However, some compilers may be specific to a certain platform, so it's important to check the compatibility before using a compiler for a different platform.