Very confused on GUI's(help!)

Im extremely confused on this subject, here is what i want to do.
-upon running the program, a seperate window pops up and displays a message on the window asking for two numbers, i input two numbers somewhere inside the window and press a button or key. The sum of the number's is displayed somewhere on the window and the program is done! Its just a simple console program moved onto a window, but what should i learn to be able to do that? I thought SFML could do that for me, but i was told otherwise, and Win32 looks like learning a whole new language to me so if im going to learn it then i really need to know if its what i want. What should i learn?!?! Thanks for the help
SFML is mostly for games. You'd have to write the whole thing yourself. WinAPI is sort of an option, but it is very uncomfortable. There are many libraries designed to make writing GUIs easier. Qt is the most powerful, but also the most complicated. GTK is more straightforward, but in C. I've heard that FLTK is supposed to be simple, although I've never used it myself. There is also wxWidgets, which I haven't used either. I think that's all the popular ones.
I would say learning win32 is worthwhile. But ya I would recommend Qt or GTK for sure
closed account (o1vk4iN6)
Win32 only works on windows obviously, and if windows 8 is any indication of where Microsoft is planning on taking it, I don't know if it will be worth while. They already have that new metro bizz bazz going around.
I wrote what I think is a pretty good post on a similar subject (WIN32) here:
http://cplusplus.com/forum/beginner/64622/

Just use two edit boxes, a button to "calculate" and a static text object for the result.
Topic archived. No new replies allowed.