Is C++ suitable for GUI programs?

C

Cholo Lennon

+1 to that. It is piece of cake to throw fine looking and portable C++
GUI together using Qt tools. It is not too hard to embed a GUI module
that is made with Qt into existing application that has most GUI made
with MFC.

One (pseudo-)issue that i have encountered is that Qt never destroys
some of its singletons so Visual Studio's debugger reports these as
leaked. It can be silenced by turning the leak-detection temporarily
off when the singletons are allocated. Other issue is that the amount
of tinkering that is needed to embed non-Microsoft tools into VS IDE
is growing from version to version. IDE that is losing ability to
integrate tools? Other, well-known free and open source IDEs may pass
Visual Studio that way.


C++/CLI don't look at, it is very sad monster language. The Microsoft
tools often hide that it is C++/CLI and call it "C++ with managed
extensions enabled" and other such nonsense. That makes C++/CLI a good
tool for discrediting C++.

I don't agree. C++/CLI is a very good tool (in contrast with the
old/deprecated "Managed C++") to migrate code from native C++ to .Net
universe.
C++ is fine, platform neutral language and
has nothing to do with C++/CLI.

Yeah, C++/CLI is not C++. They are distinct languages, but they have a
lot of things in common.
Take C# when you target .Net as
platform, it wins C++/CLI in all aspects.

Not in all aspects. If someone needs a bridge between native and managed
world, C++/CLI is by far the best option. Also C++/CLI has a better
compiler than C#.


Regards
 
H

hanukas

So I've heard that creating GUI programs in C++ is quite difficult.

I need to implement JPEG with a GUI to select settings and display the
image.  We're encouraged to use Visual C++ or Java because they're more
suited to multimedia.  I'm thinking of using C++ (don't know it yet)
cause it's faster but since the GUI is a big part of it and considering
how difficult it is... I'm not sure.  I do know Java and some C#.

Would it be better to create a GUI in C# and have C++ to do the processing?

One thing: is this going to be cross-platform or can you handpick a
platform? If you can, the old-good NextStep is awesome. The modern
implementation of it is called "Cocoa" and runs on Mac OS X, you have
to do the GUI parts in ObjectiveC but the IDE designing tools are
simply put awesome.

That is hands down my tool-of-choice for making tools for my own use.
For larger team it might not be feasible to go from, say, Linux or
Windows to OS X. But when you CAN make that choice, the Cocoa is hard
to beat.

=) =)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top