C++ GUI: Find a Good Website for Help

  • Context: C/C++ 
  • Thread starter Thread starter NoobixCube
  • Start date Start date
  • Tags Tags
    C++
Click For Summary

Discussion Overview

The discussion revolves around finding suitable resources and frameworks for developing graphical user interfaces (GUIs) in C++. Participants share their opinions on various libraries and tools, including Qt, GTK+, wxWindows, Win32 API, and Microsoft MFC, while also providing links to tutorials and documentation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants suggest looking into frameworks like Qt, GTK+, and wxWindows for GUI development.
  • One participant provides a link to a tutorial on Win32 API but warns that it can be cumbersome for more complex applications.
  • Another participant expresses a strong preference against using the Win32 API for basic or complex GUIs, recommending the MSDN developer center instead.
  • There are multiple recommendations for Qt, highlighting its ease of use, cross-platform capabilities, and integration with various features like OpenGL and networking.
  • Some participants argue that Microsoft MFC is a poor choice, with one stating that it is more C than C++ and can lead to disorganized code.
  • One participant mentions that if Microsoft solutions are necessary, C#/.NET may be a better alternative to MFC.
  • There is a consensus among several participants that Qt is preferable for GUI programming, particularly for beginners.

Areas of Agreement / Disagreement

Participants generally agree on the recommendation of Qt for GUI development, but there is disagreement regarding the use of Win32 API and MFC, with some participants expressing strong negative opinions about these options.

Contextual Notes

Participants express varying levels of experience with different frameworks, and some comments reflect personal biases based on past experiences with specific tools.

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

  • · Replies 22 ·
Replies
22
Views
3K
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
4
Views
4K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 16 ·
Replies
16
Views
5K