|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to work with visual interface in C++?
I am teaching myself C++, I have downloaded code::blocks and even run my first hello world scripts and a bit more, but so far all the tutorials I have bee using seem to using the shell command to display the data. I mean, when I run the program, I can only see the output from the command line interface, but I actually want to see panels, like the javascript window with button and everything, so, how do I actually call that in C++ terminology, and how can I run a simple hello world script or something similar using it? Is there any link that could show me a simple tutorial using this basic interface, instead of using a black screen to run everythin?
|
|
#2
|
||||
|
||||
|
Re: How to work with visual interface in C++?
C++ itself has no GUI capabilities, so you have to choose a library to use. There are a lot to choose from. Basically, every platform has its own system, plus there are some that are cross-platform. I tend to hear good things about QT if you want to make nice menus and buttons and such. If you just want to draw things, I might use SDL.
|
|
#3
|
||||
|
||||
|
Re: How to work with visual interface in C++?
If you're on Windows, you can also download Visual Studio Express which has C++ with a visual GUI editor built into the IDE.
http://www.microsoft.com/visualstudi...indows-desktop |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|