ĀæCĆ³mo implementar interfaz grĆ”fica con C++? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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
10 Respostas
+ 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