954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Beginner to C++ GUI

I've never done anything involving GUI before, but wanted to try it. I figured I'd start with something small at first like a simple calculation program before I try to do it with something more complicated.

Where should I start and what kind of programs might be needed to do this? I've tried looking over some tutorials but I'm still lost as to what I need before I start.

One person suggested that I download a GUI builder to help. Is this a good idea or is it better to handle it myself?

Any help is appreciated.

DemonGal711
Junior Poster
190 posts since Apr 2008
Reputation Points: 18
Solved Threads: 10
 

What Platform?

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

There are a lot of GUI libraries available. wxWidget is a cross-platform free open-source library for developing native GUI
Another is GTK+(with the gtkmm port for C++), which I use is best if your platform uses GNOME as its desktop environment. Though, GTK is also cross-platform free open-source.
If you are on windows, you may use MFC but I don't suggest it.
Its better to go cross-platform with wxWidget.
Find some info about them and get back on us when you get struck

siddhant3s
Practically a Posting Shark
816 posts since Oct 2007
Reputation Points: 1,486
Solved Threads: 140
 

Here's my suggest for Qt ( http://www.qtsoftware.com/products/) . It's the basis for KDE ( http://www.kde.org/ ) and is multi-platform (Linux, Mac, Windows). I prefer it to wxWidget and would highly discourage use of MFC.

You can get Qt Creator ( http://www.qtsoftware.com/products/developer-tools) , which offers a nice GUI designer.

adam1122
Junior Poster
181 posts since Mar 2009
Reputation Points: 22
Solved Threads: 28
 

I think that wxWidgets will be a good choice for you ...

Actually it wouldn't be too difficult to learn, it offers you many features and it's cross-platform (and it's well documented) ...

If you want to read a good tutorial about it you should definitely check out this one ...

tux4life
Nearly a Posting Maven
2,350 posts since Feb 2009
Reputation Points: 2,134
Solved Threads: 243
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You