Thread: any shareware GUI to use for Windows ?

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    17

    any shareware GUI to use for Windows ?

    Hi,

    I've been writing some C codes using gcc in the UNIX environment and have no experience on the Windows environment. I figure I can still write with gcc in Windows. But I'm not familiar with GUI in Windows.

    I would like to use a free shareware GUI for Windows that will allow me to do the following, with the following criteria:

    1) a GUI that's easy to learn, use, and easy to set up
    2) a GUI that can easily tie in with my gcc program
    3) I want to use the GUI interface to prompt the users to enter in values
    4) if they enter invalid values, the GUI can pop up a message, telling why it's an incorrect value, or pop up some sort of error message
    5) after they enter in a set of values on that initial screen, then the user clicks on an execute button, then, possibly a few more windows will pop up, and depending what they initially entered in on the first screen, a few more screens will pop up, prompting them to enter in a few more values, and that's it
    6) after they execute each screen, those values are then outputted into a file for me, then, somehow at the end after the user finishes entering values, the C program is called up, so that my C program will pick up that data, and then, the C program will do what it needs to do with all those inputted values entered by the user
    7) when the C program finishes its execution, it will use that GUI to pop up the results to the screen and inform the user it's completed

    Here's my question:

    What freeware GUI software for Windows will best achieve this for me? Please advise. Thank you.
    Last edited by Amy N.; 07-22-2009 at 01:15 AM.

  2. #2
    C++11 User Tux0r's Avatar
    Join Date
    Nov 2008
    Location
    Sweden
    Posts
    135
    GTK?

  3. #3
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    You mean a GUI library?

  4. #4
    Registered User
    Join Date
    Jul 2009
    Posts
    17
    No, a GUI interface.

    So, for example:

    The user double clicks on something in Windows, the GUI pops up, allows them to enter in values in this GUI, and then, when they're finished, it calls up a C program.

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,412
    Quote Originally Posted by Amy N.
    The user double clicks on something in Windows, the GUI pops up, allows them to enter in values in this GUI, and then, when they're finished, it calls up a C program.
    You should use a GUI library to create the graphical user interface that you have in mind.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  6. #6
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Be warned, creating GUIs is not trivial. Anyway, if you want to try it, I'd definitely go with GTK+. That library works on Windows and Linux, and it's written in C.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  7. #7
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by dwks View Post
    Be warned, creating GUIs is not trivial. Anyway, if you want to try it, I'd definitely go with GTK+. That library works on Windows and Linux, and it's written in C.
    Apparently windows users consider it "ugly" tho -- and I would assume you have to install it, whereas it is standard on 90%+ of linux systems.

    Looks like Qt is ported to windows/mac/linux too, but again probably you have to install it on windows. And as a linux user, I gotta tell you Qt is ugly, and in C++...so yeah, go gtk+
    Last edited by MK27; 07-22-2009 at 01:42 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI Programming...
    By ShadeS_07 in forum C++ Programming
    Replies: 12
    Last Post: 12-28-2008, 04:58 PM
  2. .NET And GUI Programming :: C++
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 01-27-2002, 04:22 PM
  3. GUI Programming :: C++ Exclusive
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 01-25-2002, 03:22 PM
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM
  5. GUI (Graphical User Interface) Help Needed
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 10-11-2001, 10:35 AM