By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,573 Members | 1,223 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,573 IT Pros & Developers. It's quick & easy.

Graphics in c

P: n/a
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.

Nov 14 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Sanda wrote:
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.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 14 '05 #2

P: n/a
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
Nov 14 '05 #3

P: n/a
Johann \"onn\" Bitsoenn wrote:
2005-01-19 10:48 - Sanda:
can enyone tell me how to create a GUI using C.
Can I create GUIs using the graphic.h header file.
.... snip ...
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 :]


Please do not answer off topic questions in c.l.c without
redirecting to a suitable newsgroup. The answers simply encourage
the off-topic problem, and cannot be properly evaluated because the
appropriate experts are not reading here.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson

Nov 14 '05 #4

P: n/a
"Sanda" <sa*******@gmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
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
Nov 14 '05 #5

P: n/a
"Mike Wahler" <mk******@mkwahler.net> writes:
"Sanda" <sa*******@gmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...

[...]
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.


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

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 14 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.