You are here:

C/gui programmin

Advertisement


Question
help me how to startup with c for Graphical User Interface.
For example,how can i make hello window with buttons in c?

please direct me....

Answer
Hello Jignesh. That's a good question.
C does not have any Graphical User Interface (GUI) functionality itself. You need to use a specific library.

On Windows I am familiar with
Microsoft Foundation Classes (MFC)
Dot Net Forms
Qt

On Unix/Linux I am familiar with
X Windows
Qt

All are C++ except for X Windows on Unix/Linux

On Windows in C you can use the Windows API, but I am not experienced in that. It is the most unpleasant. That's why Microsoft developed MFC to make it easier.

Qt will work on Windows, Linux, and the Mac.

Qt is actually the nicest to learn and its free.
You can download Qt, with a Gnu compiler, and a very nice graphical development environment, from
http://qt.nokia.com/products
You can download an excellent free book from
http://www.qtrac.eu/marksummerfield.html
Look for a link to PDF in a ZIP

You can read an online one at
http://www.kdedevelopers.org/node/3526

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Zlatko

Expertise

No longer taking questions.

Experience

No longer taking questions.

Education/Credentials
No longer taking questions.

©2012 About.com, a part of The New York Times Company. All rights reserved.