Thread: Create a GUI for this program?

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    8

    Create a GUI for this program?

    I dabbled in C# for a short amount of time but am very new to C and programming in general. I just created a program for my grandpa that requires input of 20 or so variables and outputs an answer through a formula. Can i create a window and messageboxs or entries to make it look better? I couldn't find anything through intense google searching

  2. #2
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    Quote Originally Posted by sellers04 View Post
    I dabbled in C# for a short amount of time but am very new to C and programming in general. I just created a program for my grandpa that requires input of 20 or so variables and outputs an answer through a formula. Can i create a window and messageboxs or entries to make it look better? I couldn't find anything through intense google searching
    Well, what operating system? GUI are OS dependent and not part of standard C. Through my intensive googling searching I found this for windows.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  3. #3
    Registered User
    Join Date
    Jul 2011
    Posts
    8
    Remember I know nothing of programming. So to type in "C GUI" and all other forms of that.. its hard to get to Windows API. Thank you though

  4. #4
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    If you are just starting out in programming jumping into trying to develop windows applications is not what you want to do. Stick with just trying to learn the language(the tutorials and FAQs here are a good place to start) and then you can move onto windows/gui development. Otherwise you will just find your endeavor to be extremely frustrating.

    If you are looking at just doing this one project for your grandpa you can either look at using a higher level language such as Visual Basic, or (and what I would recommend) is to just do this in something like MS Excel for him.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by sellers04 View Post
    Remember I know nothing of programming. So to type in "C GUI" and all other forms of that.. its hard to get to Windows API. Thank you though
    If you have a relatively good grasp of C at console level, you can probably work through this with no problems...

    theForger's Win32 API Tutorial

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How do you create two consoles with one program?
    By edomingox in forum Game Programming
    Replies: 2
    Last Post: 11-16-2010, 06:18 PM
  2. Create Game = program c
    By hakimstm1b in forum Game Programming
    Replies: 15
    Last Post: 10-21-2010, 05:10 PM
  3. How do you create exes from your c++ program?
    By Anubis208 in forum C++ Programming
    Replies: 22
    Last Post: 04-25-2008, 08:04 PM
  4. Trying to create an exp(x) program
    By toadkiwi in forum C Programming
    Replies: 12
    Last Post: 02-29-2008, 05:29 AM
  5. Create a file from c++ program
    By Dan17 in forum C++ Programming
    Replies: 2
    Last Post: 05-08-2006, 04:25 PM