Okay, I'm thinking about learning C++,
but I was wondering if it was possible to make a GUI using
C++, but it has to be able to run on both Windows and Linux(Ubuntu).
Is this possible?
because I see that there is a section for Windows and for Linux on this forum.
Why it's very possible.And very recommended.This way you won't support Microsoft's monopol.
I would recommend you either FLTK or WxWidgets for C++.There is also QT, which is used for KDE among other things, but QT is extremely bloated, it has 160 MB!!!The license doesn't allow for static linking as well, so it's less permissive than FLTK or WxWidgets licenses.And there is gtkmm too, the C++ version of GTK+.I wouldn't recommend you that because of the dependecies that gtkmm has, including GTK+ but also other libraries.So it's kind of hard to install.Maybe things have changed.
Anyway, I strongly recommend you either FLTK which is fast and small but has fewer widgets or WxWidgets which is kind of bloated too, but not as QT, in fact, compared with QT WxWidgets doesn't even seem to be bloated. :) .But WxWidgets it's slower and has support for other things besides GUI, like printing, multimedia and so on.Both can be statically linked too.I think gtkmm doesn't allow that.