Graphics in c

S

Sanda

Hi everyone.....
can enyone tell me how to create a GUI using C.
Can I create GUIs using the graphic.h header file.
Please someone help me.
 
F

Flash Gordon

Sanda said:
Hi everyone.....
can enyone tell me how to create a GUI using C.

Not round here they can't. This is *highly* implementation specific, so
you have to ask on a group dedicated to your implementation.
Can I create GUIs using the graphic.h header file.
Please someone help me.

graphics.h is *not* part of the C standard and is thus off topic here.
Ask in a group dedicated to you implementation.
 
J

Johann \onn\ Bitsoenn

2005-01-19 10:48 - Sanda:
Hi everyone.....
can enyone tell me how to create a GUI using C.
Can I create GUIs using the graphic.h header file.
Please someone help me.

You may use CImg.h, which is a graphics library that ables you to
manipulate, draw and display images. It has been designed to work on
many platforms, it should work at least on windows, mac and unix-based
systems. That is however C++ library.

http://cimg.sourceforge.net

If you want to code for Windows in C, search for WinAPI. Microsoft made
a Platform SDK that contains a WinAPI programming documentation. You may
download itr somewhere at microsoft website. It is all avaible in C, and
may look complicated at the beginning but... well, at least I found it
worth learning :]

Greetings,
Johann "onn" Bitsoenn
 
M

Mike Wahler

Sanda said:
Hi everyone.....
can enyone tell me how to create a GUI using C.

Find a library which targets your desired platform(s).
(Also many C implementations provide extensions for
working with their target platforms. Check the documenation
of any that you use).

C has no built-in facilities for graphics, or for
working directly with video displays or any particular
hardware devices, nor does it require that a platform
even have pariticular devices.
Can I create GUIs using the graphic.h header file.

There is no header 'graphic.h' in standard C. However
a GUI library might (or not) provide a header by that name.
And note that such a header will be only one small part
of such a library.

-Mike
 
K

Keith Thompson

Mike Wahler said:
There is no header 'graphic.h' in standard C. However
a GUI library might (or not) provide a header by that name.
And note that such a header will be only one small part
of such a library.

And the 'graphics.h' header in one library, if it exists, may be
entirely incompatible with the 'graphics.h' header in another library.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,414
Latest member
GayleWedel

Latest Threads

Top