+ 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...
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 .
+ 3
Anthony Carrillo No actually dev c++ don't have autocorrect features and suggestions you can use codeblock its better
+ 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.đ€
+ 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
+ 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 ..........
+ 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.
0
Comprendo, muchas gracias por tu respuesta. Ahora sĂ© que ya nadie usa windows.h UsarĂ© otras librerĂas. Gracias por las pĂĄginas. đđđ€đ
0
De casualidad, solo por curiosidad... El DevC++ tiene para habilitar autocompletado de sintaxis.
0
Se me olvidĂł poner este signo ' ? ' XD
0
A.S. Entonces me combiene mĂĄs codeblock. Gracias...