Does c++ has GUI functions? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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.

26th Nov 2016, 12:52 PM
Saklaen
22 ответов
+ 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....
26th Nov 2016, 2:26 PM
Petr Hatina
Petr Hatina - avatar
+ 5
I never used visual basic. I wish sololearn had any course for that.
28th Nov 2016, 3:48 PM
Saklaen
+ 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.
9th Dec 2016, 9:06 PM
Jakob Robert
Jakob Robert - avatar
+ 3
I use Visual Studio C++ forms. You can donwload it in Visual Studio self.
26th Nov 2016, 2:08 PM
Max_N
Max_N - avatar
+ 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.
5th Dec 2016, 9:40 PM
drunckoder
drunckoder - avatar
+ 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++.
7th Dec 2016, 7:49 AM
Przemysław Tasarz
+ 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++.
7th Dec 2016, 4:37 PM
Bagavathikumar
Bagavathikumar - avatar
+ 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
7th Dec 2016, 6:11 PM
deekshith
deekshith - avatar
+ 1
But can anyone tell me how to link my functions into the visual components?
28th Nov 2016, 3:08 PM
Saklaen
+ 1
QT, the best for me.
8th Dec 2016, 8:32 AM
Johan Durán
Johan Durán - avatar
+ 1
Sure, EGE lib and EasyX lib is for beginner, they have basic functions. u can practise for free.
8th Dec 2016, 6:49 PM
Ran F
Ran F - avatar
0
You can make Visual C++ Project and add your project into it. Something like Visual Basic. Do you learn Visual Basic ?
28th Nov 2016, 3:10 PM
Vincent
Vincent - avatar
0
yes we have ...we can use QT module for GUI in cpp.
28th Nov 2016, 6:23 PM
Muthyala Chandrasekhar Reddy
Muthyala Chandrasekhar Reddy - avatar
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.
28th Nov 2016, 9:37 PM
Martin Carolan
Martin Carolan - avatar
0
you can use Qt with QtCreator , very good for C++
1st Dec 2016, 6:43 AM
Alan Azevedo Bancks
Alan Azevedo Bancks - avatar
0
yup it has gui
6th Dec 2016, 1:44 AM
Dhiraj singh✔️
Dhiraj singh✔️ - avatar
- 1
Yes , you can use Visual Studio to make it. Choose Visual C++ when you want to make it.
28th Nov 2016, 2:45 PM
Vincent
Vincent - avatar
- 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
28th Nov 2016, 8:26 PM
Brian
- 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.
29th Nov 2016, 4:44 AM
Vincent
Vincent - avatar
- 2
Try to use the WinApi
3rd Dec 2016, 3:55 PM
Chip
Chip - avatar