C ++ - How to create a window in windows

1

I'm starting to program for windows using c ++ and the DevC ++ program. How do I create a common window?

    
asked by anonymous 01.05.2018 / 13:46

3 answers

-2

I recommend searching for QT, which is a cross-platform framework for developing graphical interfaces in C ++. With it you can make programs that work on both Windows and Linux and MacOS. If you want to learn about QT, there are several tutorials on the internet, in various forums or even the Stackoverflow in the "QT" tag.

Also check out the official QT website ( link ) and see all its possibilities.

    
02.05.2018 / 17:02
0

You can follow this tutorial using Windows API but it is not recommended because it is limited, ideal would be to use Qt since it is multiplatform, has many features for window creation including a visual editor, it supports OpenGL, DirectX and Vulkan , it still uses Windows API (If the target platform is windows of course).

Here is an example of the main window of my program using qt and its visual editor:

    
29.05.2018 / 21:14
-2

In C ++ you do not have a native window toolkit. Each provider has one, and has a few free ones. You can try the Qt that is well-publicized.

    
01.05.2018 / 13:55