473,383 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Graphics in c

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
5 1657
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
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
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
"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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: JBiagio | last post by:
Hello All, I am attempting to learn a bit about the GDI+ transforms and charting data and I feel like I'm getting a handle on how the transforms work. My chart object has a large "canvas" bitmap...
12
by: Sanjay | last post by:
hi, We are currently porting our project from VB6 to VB .NET. Earlier we used to make scale transformations on objects like pictureBox , forms etc.Now Such transformations are made on the...
2
by: John Bailo | last post by:
I am walking through some of the very first sample code from the book "Beginning .NET Game Programming" from Apress. I identify his sample code with //SC This code puzzles me: Graphics graph...
14
by: Pmb | last post by:
At the moment I'm using Borland's C++ (http://www.borland.com/products/downloads/download_cbuilder.html#) I want to be able to take an array of points and plot them on the screen. Is there a way...
5
by: Charles A. Lackman | last post by:
Hello, I have created a complete PrintDocument and need to create an image from it. How is this done? e.Graphics.SmoothingMode = Drawing2D.SmoothingMode.HighQuality...
6
by: Chris Dunaway | last post by:
The method for printing documents in .Net can be confusing, especially for newer users. I would like to create a way to simplify this process. My idea would be implemented using a PrintDocument...
12
by: Xah Lee | last post by:
Of Interest: Introduction to 3D Graphics Programing http://xahlee.org/3d/index.html Currently, this introduction introduces you to the graphics format of Mathematica, and two Java Applet...
6
by: active | last post by:
I have an image and a graphics object created (FromImage) from that image. I need to create a new image and create a new graphics object from the new image. I want the new graphics object have...
9
by: DaveL | last post by:
hello I have a Bit map 1367 wide 32 high this bitmap contains like 40 separate Images 32x32 I tell it the id*32 to get the approiate Image from the source Bitmap When i CreateGraphics()...
8
by: Abhiraj Chauhan | last post by:
I need someone to make an example of how to create a graphics window in VB.net 2008. I understand the basics of how to draw a rectangle and lines etc. What I need is an example of how to make a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.