473,804 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with my graphics.h file

6 New Member
Dear all,
i am a beginner in c programming. i am trying my hand at simple graphics programs. On the linux platform the error message is that it cannot find the graphics.h file. And on the windows Turbo C platform it says that there is error in some lines of the graphics.h file. I tried een example programs also and with no succes. What could be the problem ? Where is the .bgi files in Fedora to give the proper path? do i need to load Turbo C again from somewhere else?
oormilarev
Dec 28 '06 #1
3 3577
horace1
1,510 Recognized Expert Top Contributor
Dear all,
i am a beginner in c programming. i am trying my hand at simple graphics programs. On the linux platform the error message is that it cannot find the graphics.h file. And on the windows Turbo C platform it says that there is error in some lines of the graphics.h file. I tried een example programs also and with no succes. What could be the problem ? Where is the .bgi files in Fedora to give the proper path? do i need to load Turbo C again from somewhere else?
oormilarev
post the program you are using and the error message you are getting.

Note that it is very unlikly that a TurboC program written for graphics.h (assuming that is what you are trying to do) would run using gcc on Fedora without modification.
Dec 28 '06 #2
oormilarev
6 New Member
post the program you are using and the error message you are getting.

Note that it is very unlikly that a TurboC program written for graphics.h (assuming that is what you are trying to do) would run using gcc on Fedora without modification.
dear horace,
thanks for the reply. I am not using turbo C on fedora. It is just that i am trying the graphics programs on both the platforms as i am dying to see the output and am dissapointed with the errors on both. On fedora i do the gcc compiling and the message is that it cannot find the graphics.h file. While using turboC , i can see the graphics .h file is there but the error messages are with respect to the graphics.h file and not my program. maybe the file has got corrupted ?
oormilarev
Dec 28 '06 #3
vpawizard
66 New Member
Hello,
The Turbo C supports some features not provided by ANSI-C like graphics(graphi cs.h), conio.h, etc. gcc is the one of the most ANSI compliant compiler. It does not have graphics.h file. So, your graphics program wont run on Linux m/c.

Regards,
Dec 29 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4460
by: David | last post by:
Hello I'm writting an apllication and i like to display and offscreen image. However my code doesn't seem to work. It compiles and runs properly but What i want is to associate the button of the menu to switch an image (actually to add rectangels offscreen and bring it to the front). The following codes runs properly. You just need to create a file images.properties and put some images in a folder called images. By the way this is...
21
4458
by: BlackHawke | last post by:
My name is Nick Soutter, I own a small game development company (www.aepoxgames.net) making our first game (www.andromedaonline.net) in java. I am writing because we are having a very serious problem, and I was hoping someone might have thoughts.
9
2827
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am facing. Please please help me to solve this as soon as possible. So here we go ... I am not able to take the screen shot of the windows form based "Smart
1
4172
by: Hardy Wang | last post by:
Hi, I found a piece of code to add drop shadow to a photo like below, after I save the image, it is actually a BMP file even though I specify a JPG file extension (see http://img140.imageshack.us/my.php?image=resized11wz.jpg). If I force to save in JPG format (see the commented line), then the whole shadow is a messup (see http://img70.imageshack.us/my.php?image=resized29cy.jpg). I am just wandering are there any attributes / formats...
4
2979
by: i4004 | last post by:
Hi I am trying to put Jpegs into an Access table for use in forms and reports. I can do it - one one of my networked pcs but not on others. The others give me Package, despite every thump and kick I give Access (turn it all off, restart, repair etc). Both have MS Picture Manager installed.
0
898
by: André | last post by:
Hi, I try to insert a graphic (bitmap) to the first file. No problem any more with that. But the graphic generated in the second file (graf2.aspx) must receive values from the the first file. I do that with cookies. It works when i send ONE cookie, but if i send two cookies from the first file, i get the browser-error: "can't render the page (or something like that) ... check your configuration etc ...".
3
2758
by: new programmer | last post by:
hi iwould like to ask about how to use function ,pointers and graphics in c languge easily and thanks
1
3164
by: =?Utf-8?B?Y3JhbmtlX2JveQ==?= | last post by:
Hi Folks, I'm not sure where this post belongs since I'm using managed vc.net, but the issue is around GDI BitBlt. Here is a summary of the problem: - I am trying to copy a bitmap of my main form into a picture box. - To do this, I bitblt using the device contexts of the form and a bitmap object. - After blitting, the bitmap image is always blank. I don't understand what
2
2861
by: slapsh0t11 | last post by:
So, I've been working on this Game of Life (http://www.bitstorm.org/gameoflife/) project, and all the code has been written. However, it will not run. First, I will post the error message and the fragment of code I think to be the cause of the problem. Then, I will post the code to all 3 of my java files in their entirety should you wish to reference them. Any help would be much appreciated. Also, if it would help fix my error, I would...
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9591
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10594
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10331
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10087
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9166
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.