Jump to content

C Buttons and Interfaces?

- - - - -

  • Please log in to reply
5 replies to this topic

#1
Nukey

Nukey

    Newbie

  • Members
  • Pip
  • 3 posts
Hi,

I've taken a few C programming classes, and have used it on my own a fair amount. So far, everything I have done has revolved around the command prompt.

Is there an easy way to add an interface with buttons and input/output boxes for a given program?

I'd like to learn as little new programming as possible to accomplish this.

Thanks,
Me

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
You can download Visual C++ express edition, Visual C++ is Microsoft's version of C++ with simple GUI workings, there should be a drag and drop form generator for it.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
mnirahd

mnirahd

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 330 posts
Hi,

You can use Microsoft Visual Studio to make GUI program. I'd suggest you to start looking at how to MFC Dialog Box and using controls on it. You can find a detail over

Visual C++ MFC Controls: Dialog Boxes

This is detailed description on how to create MFC Dialog Application.

I hope this would help!

Munir

#4
Nukey

Nukey

    Newbie

  • Members
  • Pip
  • 3 posts
It seems like you need to know object oriented programming to use the GUI tools that come with visual studio.

Is there a way to create interfaces using only C programming?

#5
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200

Nukey said:

Is there a way to create interfaces using only C programming?

Procedural GUI development is somewhat backwards, you will not find any modern one that will work with prure C, especially Windows interfaces as MFC/.NET use objects natively.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#6
AdvMutant

AdvMutant

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 438 posts
I guess there is a way to do it, everything(IMO) is possible. But I'm not sure how effective it will be. I just(temporarily) switched to C++ because of that exact reason - I wanted to program an IDE using Windows Forms.
Just use Microsoft's Visual C++.

Posted Image
There is no problem that cannot be solved by the use of high explosives.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users