Question:
Options for learning C++ GUI?
anonymous
2011-02-16 01:40:36 UTC
Hi everyone,

I am learning C++ and I would like to know what are my options for GUI programming for cross OS programs? What I have read so far leads me to the conclusion that you can not do this, so is it possible at all?

Thanks,
shanet
Three answers:
cosimo
2011-02-16 02:10:54 UTC
It's absolutely not true that you can't do cross OS (or cross-platform) GUI programming in C++. You're obviously aware that C++ does not include any direct support for GUI development (I presume!), but there are many GUI libraries out there that are usable across platforms. I have provided links below to wikipedia entries for some of what I believe are the most common cross-platform GUI libraries around at the moment (Qt, WxWidgets and GTKmm). If you start there you will find many others.
?
2016-10-05 06:26:05 UTC
there's a 0.33 determination. GTK+ is rather a C API, yet has wrappers for C++ and a number of different languages besides. yet, possibly you should %. between Qt and WinAPI. the fast answer is that Qt is extra elementary to apply, and transportable to distinctive systems. WinAPI is extra useful in the sense which you're able to do something which would be completed with homestead windows. that's plenty extra complicated because consists of an magnificent style of low-point administration (and resposibility!). WinAPI classes tend to be harder to place in writing, examine and debug. nevertheless, in case you want get right of entry to to homestead windows-specific good factors, WinAPI does each little thing. Qt has all (or almost all) of of what you want for a working laptop or computing gadget app. that's the crucial framework for Linux KDE-based computers, an magnificent style of computing gadget apps (including what sounds like a majority of the graphical video games for Linux) are written with Qt. One final plug for GTK+ is that it is the crucial framework for GNOME distros of Linux, it fairly is extra primary presently. (that is extra because of the fact of licensing than purposes, however.) So, in case you want get right of entry to to homestead windows innards, bypass with WinAPI. If not, Qt (or GTK+) supply you an extra elementary street to app progression, and a effect which would be compiled for many systems.
anonymous
2011-02-16 03:03:20 UTC
you have some options like OpenGL,QT where you can perform GUI with C++.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...