Question on making C++ program that is not in dos prompt

Nov 8, 2010 at 11:29am
Hi guys, so im new to C++ programming and i am learning how to make programs in dos prompt format.

I was wonder how to make a program that is a normal windows program. Lets say a simple addition calculator. So when i open the program it looks like a calculator (that i some how designed <--- im trying to figure out how i can create this with C++ or a program that works with C++).

So basically instead of the keyboard for my inputs i can click the buttons on the screen associated with the numbers i want to add and it gives me the output.

Can someone point me in the right direction.
Thanks.

Nov 8, 2010 at 12:54pm
You need to get yourself a library for that.
Qt, GTK and wxWidgets are most widely used, I suppose.
Nov 8, 2010 at 5:40pm
Not that I'm very knowledgeable on the subject, but just in case you start using GTK, I believe you need to install GTKmm also, in order to use C++ with GTK.

www.gtkmm.org/
Last edited on Nov 8, 2010 at 5:41pm
Nov 8, 2010 at 5:51pm
It is true that GTK is for C. However C++ is backwards compatible with C, so a library for C will work with C++. You don't have to install GTKmm. If you choose GTK, you probably should though. It would make things more comfortable.
Nov 8, 2010 at 7:53pm
I went ahead and installed the GTKmm. Now im not sure what to do. Is GTKmm just the library. Do i need another program to create an interface? I found Glade for linux but im using windows.
Nov 8, 2010 at 7:58pm
Topic archived. No new replies allowed.