C/C++ C++ GUI: Find a Good Website for Help

  • Thread starter Thread starter NoobixCube
  • Start date Start date
  • Tags Tags
    C++
AI Thread Summary
The discussion centers around recommendations for GUI programming frameworks, with a strong emphasis on Qt, GTK+, and wxWindows. Participants express a clear preference for Qt due to its cross-platform capabilities, ease of use, and integration with various features like OpenGL, regular expressions, and advanced data structures. The Win32 API is criticized for its complexity and is deemed unsuitable for basic or even moderately complex GUI applications. Microsoft Foundation Classes (MFC) are also mentioned negatively, with suggestions to avoid them for beginners, especially since they are being phased out. C#/.NET is presented as a better alternative within the Microsoft ecosystem. Overall, Qt is highlighted as the best option for both novice and experienced developers looking to create sophisticated GUIs across different operating systems.
NoobixCube
Messages
154
Reaction score
0
Hey can anyone direct me to a good website??
 
Technology news on Phys.org
Look into Qt, GTK+, wxWindows, etc.

- Warren
 
Here is a good Tutorial for you
http://www.winprog.org/tutorial/
If you already looked around you probably already know about that site.
 
id stay away from that. Win32 API is attrocious at best when you need to do more stuff ( but it is the only way to go sometimes ) . though if youre going to head down that path, the msdn developer center is great.
 
I'd also advise that you do not use the Win32 API if all you need is a basic GUI, or even a fairly complex GUI.

- Warren
 
have a look http://doc.trolltech.com/4.3/index.html"
and http://doc.trolltech.com/4.3/designer-manual.html"
and http://doc.trolltech.com/4.3/object.html"
 
Last edited by a moderator:
chroot said:
I'd also advise that you do not use the Win32 API if all you need is a basic GUI, or even a fairly complex GUI.

- Warren

In my experience easiest way is to use Microsoft MFC (layer over Win32). Comparing visual qualities of many Windows and Linux programs windows versions are clearly better for simple and advanced GUI.

I think MAC Gui programming can be also easy, but I didn't work on MAC for few years.

I myself would may be use Java / Swing.
 
MFC sucks. Java / Swing sucks worse. Use Qt, GTK+, or wx.

- Warren
 
QT works great on Windows and ports effortlessly. I think it's what I'd recommend too at this point.

If you MUST stick with Microsoft solutions though I think C#/.net is preferable to MFC. I'm sure MFC works great if you're used to it, it but if someone is looking to learn GUI programming for the first time it is probably not a good place to start, since it is being phased out and all.
 
  • #10
If it wasn't obvious from previous post - I too recommend Qt.
It uses the native API in each OS, so on windows you can't distinguish it from something programmed in win32API, on mac it uses aqua, on linux and BSD it has a kde look...

apart from the easy meta object way of doing things in Qt (connecting objects with signals to slots makes event handling and threading very easy),
Qt also provides integration with openGL for 3d rendering inside a window,
string manipulation with regular expressions, Unicode and easy conversions between language codecs,
better containers then STL has to offer (list, vector, map etc.),
TCP\UDP client and server base classes, ftp and http clients, the labels and other visual text containers parse html, and in the next version (4.4) there will be some classes which handle very sophisticated sites with code from webkit (mac's safari and KDE's konqueror web engine ).
oh and they will also have sound infrastructure using code from phonon (KDE's sound library) in 4.4...

MFC is really ugly... it's more C then C++, and it's very easy to get lost in your code when using it... I recommend you avoid it.
 

Similar threads

Back
Top