Thursday, July 9, 2009

Help with a GUI for a simple C++ program?

I have created a simple C++ program that converts C -F and F-C temperatures. I want to create a GUI for it because so far it works in the command-line format. I have my source at http://www.mediamax.com/irishguy3m/Hoste...


Please, I need help to make a very simple GUI.

Help with a GUI for a simple C++ program?
I couldn't look at your code... mediamax wouldn't let me see it.


As far as a gui... if you want a Windows app sort of UI, coding it by hand would take up many times more code than whatever you might have, and would require you to learn the Windows API, which is a huge undertaking.





Otherwise, you can use the graphics capabilities of the compiler you are using to draw simple boxes and such. Drawing rectangles and squares is fairly easy. Moving the cursor to what you've defined as an input box isn't that hard either. Basically you would have a graphical interface in a console app. That's not too hard to do.
Reply:Or he could look at this site....





http://www.winprog.org/tutoria... Report It

Reply:First of all, even your console application will not work.


Next, since you are not experienced programmer, you need to use some RAD environment - such as MS VC++, BCPP, etc.


To learn how to write GUI applications, visit http://www.codeproject.com - there you will find lots of examples end even ready projects.

survey monkey

No comments:

Post a Comment