+ 2

ÂżCĂłmo implementar interfaz grĂĄfica con C++?

Saludos Coders đŸ€˜đŸ˜ŽđŸ‘©â€đŸ’» Tengo curiosidad por aprender mĂĄs sobre C++ agregando interfaz grĂĄfica. Hay una librerĂ­a llamada windows.h pero no la sĂ© utilizar, sobre de los handlers o varios otros comandos. Entonces quiero aprender a usar esa librerĂ­a, entender para que sirve y utilizarla para implementar ventanas, botones, mensajes box, etc. Por cierto sĂ© que existen IDEs como Qt que permite usar el diseño para las interfaces pero lo que quiero es aprender es con cĂłdigo de las librerĂ­as, yo utilizo DevC++ 6. AsĂ­ que, quiĂ©n puede recomendarme un PDF que explique a detalle eso, o alguien que medio me explique. Gracias...

22nd Sep 2021, 4:35 PM
Anthony Carrillo
Anthony Carrillo - avatar
12 Answers
+ 1
Add relevent tag and write your question in english language so community can help you better because here mostly peoples know english . By the way you asking for graphics and windows.h header file but in c / cpp there is no such standard headerfile available for graphics . In old Compiler like turbo it had graphics.h library but this is not standard and it will support in old dos based compilers it was popular in olden days before 30years ago but in today era noone using this library for development purpose. You have mentioned for windows.h header so this is also not standard. But this Library provides to add media like song .... sound.... but your written code will work on windows only not in Linux or other flavour 😆 (environment) so avoid your code to use this . If you really wanna use graphics then try SDL , SFML And OpenGL for gaming and graphic. You need to download these files from external sources then you need to configure on your ide you can use codeblock or Visual studio code .
22nd Sep 2021, 6:27 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 3
Anthony Carrillo No actually dev c++ don't have autocorrect features and suggestions you can use codeblock its better
23rd Sep 2021, 6:05 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
Comprendo 😅👍 Gracias en verdad, me pondrĂ© a investigar sobre SDL, SFML y OpenGL a ver cĂłmo se usa. Y sĂ­, no soy muy bueno con el inglĂ©s gracias por el consejo. Mi PC es 4 de RAM y 465 GB de espacio, verĂ© si descargo Qt.đŸ€”
22nd Sep 2021, 6:51 PM
Anthony Carrillo
Anthony Carrillo - avatar
+ 2
No i will suggest you dont try qt with 4gb ram it won't work properly even visual studio code will also lag with 4gb ram and i have already told you that for qt required space is 500gb and your total space is 465gb
22nd Sep 2021, 7:00 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
If you dont know how to configure it you can take reference from Google YouTube you will get complete guide with step by step . here you need to do many configurations. You are also asking for Qt so qt is best software to develop GUI desktop application in cpp . It is heaviest software if your system specifications are good then you can try this before this you should know about the basic of cpp language for Qt required space is atleast 500gb and ram should be atleast 8gb (not necessarily )ram for good development experience it takes little bit time . ............ Thankyou ..........
22nd Sep 2021, 6:34 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
đŸ€ŻIncreĂ­ble, mejor no lo descargo XD aprenderĂ© a usar las librerĂ­as que me dijiste, total si no logro algo, me quedarĂ© con el lenguaje de C# que ya sus IDE tiene modo diseño.
22nd Sep 2021, 7:08 PM
Anthony Carrillo
Anthony Carrillo - avatar
0
Comprendo, muchas gracias por tu respuesta. Ahora sĂ© que ya nadie usa windows.h UsarĂ© otras librerĂ­as. Gracias por las pĂĄginas. đŸ˜ŽđŸ‘đŸ€˜đŸ˜Ž
22nd Sep 2021, 11:45 PM
Anthony Carrillo
Anthony Carrillo - avatar
0
De casualidad, solo por curiosidad... El DevC++ tiene para habilitar autocompletado de sintaxis.
22nd Sep 2021, 11:47 PM
Anthony Carrillo
Anthony Carrillo - avatar
0
Se me olvidĂł poner este signo ' ? ' XD
22nd Sep 2021, 11:48 PM
Anthony Carrillo
Anthony Carrillo - avatar
0
A.S. Entonces me combiene mĂĄs codeblock. Gracias...
23rd Sep 2021, 12:32 PM
Anthony Carrillo
Anthony Carrillo - avatar