Graphical User Interface

I have noticed that the Java programming language has more graphical capabilities than C++. Is there any way I could get the same graphics in C++?

Which libraries should I include?
C++ can do literally anything that your processor is capable of.

Here's a list of easy options: http://en.wikipedia.org/wiki/List_of_widget_toolkits#Based_on_C_or_C.2B.2B_.28including_bindings_to_other_languages.29
Qt is great for gui, and has other capabilities has well.
C++ is a great language and I love it a lot.
use C# instead. It's better than C++ or even java in GUI.
U can use C++ with CLI or C++ MFC
If you want your application to be multi platform I suggest using Code:Blocks with FLTK.
It's better than...


That kind of statement causes flame wars. :)

The best you can say is that for some circumstances, given some sets of needs, some languages and libraries are more suitable than others.

When C++ was designed (in 1979), GUI was not one of its aims. C++ is great for command line programs.
C# or JAVA is designed to be visual and creating GUI is very easy.
Last edited on
C++ is great for high level/low level programming and does not even need a command line to work; all it needs is a compiler to convert it into native machine code which can run on any platform for which it can be compiled for.

Java is dependent on the Java Virtual Machine being installed on the platform.

C# is usually Microsoft dependent, I haven't looked into its limitations yet.

Use a language when you need it, not when one is supposedly better than the other - the operating word 'better' depends entirely on the situation.
Topic archived. No new replies allowed.