User interface for C++
What should I know to be able to make an interface with buttons and images for a program written in c++ language?
Should I know another programming language like java or something else to be able to do it?
Ps.: I hope you understand what I am trying to ask because my English is still improving =).
You could learn the interface of a GUI library such as FLTK, FOX, Gtkmm, Qt, wxWidgets, etc.
This is called "GUI programming", for Graphical User Interface.
You can do it in C++. How depends on the operating system on which you want this to work. However, there are some "cross-platform" GUI libraries for C++, notably Qt, which works on windows, linux, and apple.
I learned using the defualt Win32 libraby with this:
theForger's Win32 API Tutorial
Which one of these languages would be the most efficient and usable for windows?
Use Win32 - it has a great array of functions, and there are many resource editor programs to help you create your GUIs.
Yes, the more native Windows API would be suitable if you really only want to target Windows. On the other hand, whether it is more usable depends on your point of view, and of course you will have a tougher time porting if later you decide that you want to be more cross platform. Note that these are libraries, not languages (even though sometimes learning a new library interface is like learning a new programming language).
Win32 is an ugly beast with lots of complexity and lots of headaches. If I were you, I'd still the heck away from it. Using portable libraries is usually the best, especially if they're developed for C++, since they will be much, much easier to work with.
Although you may not get everything Windows offers out of it. It's a trade off in that sense.
MFC is still alive and kicking and you can use it and the best part is it comes with MSVC standard. But any 3rd party API will be better than using the raw Win32 API.
screw Java(yes I hate it), you dont need a stupid copy of c++ to make a user interface... I use Qt, but I think you should first try to use win32 library...
ps: "WINDOW"s is mainly written in C, what makes you think you need another language to write UIs?
Dude. If you're using C++, then you should make use of a library that is built on C++ to make the best out of the language.
If you're using C, then go ahead and use a 3rd party library that's built on C.
And for that matter, you can stay with C and the stoneage with lots of security vulnerabilities if you want while we move to the future with C++.
May not always be the case. I like Win32 for the full control, it's more difficult, but it's worth it to me.
Originally Posted by Bubba
I heart Win32. :)