Is the C++ programming language only based in a command prompt-like window?
anonymous
1970-01-01 00:00:00 UTC
Is the C++ programming language only based in a command prompt-like window?
Eight answers:
?
2016-08-03 10:27:50 UTC
1/2-assed coding results in half-assed applications... And the world has a lot of half-assed applications. Kindly refrain from including to the dung pile and pick one other interest.
anonymous
2012-12-11 15:29:26 UTC
no
c++ for GUI : wxwidgets, gtkmm, qt, visual c++
c++ for web : Wt (web toolkit), CppCMS, TreeFrog
green meklar
2012-12-09 16:38:03 UTC
I'm not entirely sure what you mean, but either way, the answer is 'no'.
Lisa A
2012-12-09 00:25:52 UTC
Nope. Unless all Windows has is a cmd window. IIRC, Windows has far more than a cmd window.
Easy Peasy
2012-12-08 17:07:44 UTC
Short answer no.
Long answer Depending on what operating system you are using, there are various front ends. For example there is Microsoft's Visual C++. The main benefit is for Syntax checking and ease of formatting. Some also will allow stepping through the program for debugging. Although they often revert to command line for compiling.
deonejuan
2012-12-08 16:49:32 UTC
C++ is oftentimes libraries and then you can bolt on the widget libraries you want to use to make a GUI. QT4 is both an IDE, and visual layout manager. QT4 has very pretty widgets. QT4 is cross-platform for making GUI but C++ is not cross-platform -- you have to tweak C++ for various hardware and maintain multiple versions of the code.
wxWidgets is another cross-platform solution for GUI. Most Linux boxes have GTK+ or VCL. There are extensive libraries of pre-built code libraries. You have to learn the API. Most Microsoft users are blinded by the product range of Microsoft products and don't realize there are a lot of do-it-yourself solutions one can do with the free tools.
DNAunion
2012-12-08 16:25:14 UTC
No. You can buy/get visual development environments, and can write C++ program that display only on a console, or ones that display windows and web forms.
godfatherofsoul
2012-12-08 16:26:37 UTC
You're confusing language with UI. You can create graphical images with C/C++, but you need the libraries to do it. For Windows, there's the Win32 API which has all the libraries for creating graphical applications.
It's usually just easier to work with the command line as a new programmer. I think Eclipse has a C++ plugin if you don't want to develop with just command-line utilities.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.