Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I would like to know how to develop a GUI in C program. Also I would like to know whether the GUI can be developed using C++ and incorporated with my developed C code?
Posted

To be honest, if you have to ask - then the answer is going to be "don't do it yet".

The problem is that C itself has no graphics support built in - so you need to use the facilities of whatever operating system you are going to run under, and we don't know what that is. And all operating systems work differently, so there isn't really a "one size fits all" solution. To make matters worse, it's also going to depend on which C compiler you use, as many of them also have proprietary libraries, so you can't necessarily use the libraries you like in your chosen development system

If I was you, I'd leave it for the moment, and start coding less enormous tasks - a Graphics UI from scratch is a very, very big job!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900