Moving from Java to C ++ . Java had standard libraries like AWT , Swing , JavaFX for creating user interfaces.

What is C ++ for this?

  • 2
    Qt :) wxWidgets, etc. - Sublihim
  • 3
    It depends on what is meant by "standard library". Built-in language - no. Widespread cross-and non-cross-platform is enough. I would look towards Qt. - andy.37
  • C ++ is a very conservative language in general. There is still no control over the console (like “find the width of the console window” or “enter a character without display”), since it was believed that a C ++ program has the right to run on devices without a display, and you GUI! - VladD
  • The console, as a means of displaying information - of course, is much inferior to the GUI in detail. But not according to the principle. C / C ++ in this regard was on the right track. IMHO. First, standardization, then implementation. We ask ourselves: do we have a standardization of the "terminal"? - Majestio

2 answers 2

In C ++ there are no standard libraries for the GUI.

There are third-party libraries such as: Qt, wxWidgets, JUCE, Nana, eGUI, etc. As well as Microsoft's own solutions, Borland (now Embarcadero Technologies).

    Currently there are no standard libraries for graphics in C ++. It is necessary to use third-party, the list can be viewed on Wikipedia. But now there is a corresponding proposal to add such functionality to the standard part.

    For example, on the page of a site dedicated to C ++ standardization there is such a picture (see bottom right corner):

    2D graphics

    The draft proposal, entitled "A Proposal to Add 2D Graphics Rendering and Display to C ++", currently contains 227 (!) Pages and is available here .

    • Interestingly, what is there to stir up the network? Surely more specific GUI. - Majestio