¿Cómo implementar interfaz gráfica con C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 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