+ 14
Does c++ has GUI functions?
I don't know how can I use c++ when it comes to designing any software. I was amused when I saw the beautiful interface of every applications like - web browsers: crome, opera; games: tick-tac-toe(for example); and everything you can name. I want to know what should I do to design my application using c++? Else u can suggest me any other programming language in this regard.
23 Answers
+ 23
C++ has the simillary possibilty GUI functions, but they are not described here in basic course. Because are not a part of basic language, but extended libraries (there are many of them)-
So, as the most easy, you can use some C++ complex developed tools - like MS Visual studio, or C++ Builder, which supports GUI inside.
Or, find,download and use some GUI library alone. For example CEF, GTK+, Qt, wxWidgets....
+ 5
I never used visual basic. I wish sololearn had any course for that.
+ 4
The C++ standard library does not contain any GUI functions as Java or C# do, but there are many useful external libraries that you can install. some examples:
for 2D games: SDL, SFML
for 3D games: Ogre Engine, Irrlicht Engine
for GUI applications:
Qt -> e.g. Google Earth, Skype, Spotify were developed using Qt
wxWidgets -> e.g Audacity
Windows Forms -> integrated in Visual Studio, only for Windows
if you are really hardcore and want to do program everything starting from the low level, you could as well use WINAPI and DirectX or OpenGL, but that is not a good idea if you want to quickly get the job done and see results.
+ 3
I use Visual Studio C++ forms. You can donwload it in Visual Studio self.
+ 2
It doesn't (before downvoting make sure you know the differences between a library/framework and the language itself). GUI is a highly platform-specific thing and can't be done equally for every platform. There are lots of libraries that implement it cross-platform. For a specific operating system - use it's API.
+ 2
C++ has many libralies with options for visual content.
For games: STL, STDL, ALLEGRO
For applications: Qt, GTK+
Visual Studio has GUI C++ too. It's named Visual C++.
+ 2
C++ is the standard and basically it gives the guidelines. Many compiler developer creates compiler based on the C++ guidelines. GUI is completely different layer. Many GUI frameworks are available for C++ based on the platform. Qt, MFC, Win32, wxWidget and etc. Please learn any one of the framework to do the GUI programming in C++.
+ 2
Yeah... There are several API's to develop GUI based apps but there is a c++ based GUI API known as QT4/QT3. It is a nice api to build gui apps and also easy to learn. Hope this helps you
+ 1
But can anyone tell me how to link my functions into the visual components?
+ 1
QT, the best for me.
+ 1
Sure, EGE lib and EasyX lib is for beginner, they have basic functions. u can practise for free.
0
You can make Visual C++ Project and add your project into it. Something like Visual Basic. Do you learn Visual Basic ?
0
yes we have ...we can use QT module for GUI in cpp.
0
I starter the BASIC C++ course early this year and then had a go at getting into GUI. I have been using wxSmith and wxWidgets. wxSmith allows you to get a taste ,without getting too complicated , because the graphics are already made for you. However, I soon realised that the basics is not enough and so I am now going over the basics again while, at the same time going deeper. I also realised it will take some time before I can go back to GUI.
0
you can use Qt with QtCreator , very good for C++
0
yup it has gui
0
try to use Qt )) it's really cool. Personally i like it most ))
- 1
Yes , you can use Visual Studio to make it. Choose Visual C++ when you want to make it.
- 1
Qt designer is the best for your case since its easier to use and you don't have to learn about workarounds like in visual studio
- 2
Yeah i hope it too. But I already can Visual Basic. But if they make the Course of it all of Sololearns User can learn it.