- 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.