C ++ How do I make the visual environment of a program?


I've been programming for a while in C ++ and I'm starting to see C #

I'm honestly interested in making desktop programs, but I have no idea how the visual environment of the program is made; that is: buttons, effects, images, sounds, etc.

Do you need bookstores or something other than C ++?

asked by Malthael 12.02.2017 в 17:25

1 answer


The C ++ standard does not have a library for graphical interfaces.

The only options are to get soaked about how the operating system's graphical API works (winapi in the case of Windows) or to use a third-party library that encapsulates the complexity of speaking directly with the OS's API.

I would recommend using a third-party library and, in this case, there are many possibilities. Some of the best known are:

  • Qt : Multi-platform framework and very complete.
  • wxwidgets : specific library for graphic interfaces. Multiplatform
  • MFC : Microsoft-specific library, available only under Windows and licensed.
  • GTK + : Multi-platform graphic library that comes from Linux environments
answered by 12.02.2017 / 17:35