| | |
graphics.h in c
![]() |
•
•
Join Date: Jul 2009
Posts: 45
Reputation:
Solved Threads: 2
When i was runnning the graphucs c program in turbo c the program was terminated. I gives an error message as
16-bit MS DOS subsystem
The NTVDM CPU has encountered an illegal instruction.
CS:d000 IP:03e2 OP:ff ff eb 05 ea
Please provide me the solution
I also tried using dosbox.. but there was some problem that library files were not included..
16-bit MS DOS subsystem
The NTVDM CPU has encountered an illegal instruction.
CS:d000 IP:03e2 OP:ff ff eb 05 ea
Please provide me the solution
I also tried using dosbox.. but there was some problem that library files were not included..
>>Please provide me the solution
The solution is to trash that compiler and get a modern one that is compatible with current Windows operating systems. VC++ 2008 Express and Code::Blocks are both good choices. Google for them and you will easily find the links.
The solution is to trash that compiler and get a modern one that is compatible with current Windows operating systems. VC++ 2008 Express and Code::Blocks are both good choices. Google for them and you will easily find the links.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
Join Date: Jul 2009
Posts: 45
Reputation:
Solved Threads: 2
•
•
•
•
>>Please provide me the solution
The solution is to trash that compiler and get a modern one that is compatible with current Windows operating systems. VC++ 2008 Express and Code::Blocks are both good choices. Google for them and you will easily find the links.

If possible solve my problem in using this same thing!!!
> unfortunately I cant dump this compiler right now because our syllabus still follows it.
Until your country gets it's act together and starts teaching students something used in the real world, I won't worry about out sourcing.
Tell your tutor that this fossil is NOT preparing you for a life after college.
Until your country gets it's act together and starts teaching students something used in the real world, I won't worry about out sourcing.
Tell your tutor that this fossil is NOT preparing you for a life after college.
•
•
Join Date: Jul 2009
Posts: 45
Reputation:
Solved Threads: 2
[CODE=C]#include<conio.h>
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<dos.h>
#include<graphics.h>
main()
{
int gd=DETECT,gm,x,y;
int array[]={540,220,590,270,570,320,510,320,490,270,540,220};
initgraph(&gd,&gm,"c:\\tc\\bgi");
x=getmaxx();
y=getmaxy();
//printf("%d%d",x,y);
//getch();
setcolor(WHITE);
rectangle(x/30,y/20,x/5,y/4);
}
[CODE]
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<dos.h>
#include<graphics.h>
main()
{
int gd=DETECT,gm,x,y;
int array[]={540,220,590,270,570,320,510,320,490,270,540,220};
initgraph(&gd,&gm,"c:\\tc\\bgi");
x=getmaxx();
y=getmaxy();
//printf("%d%d",x,y);
//getch();
setcolor(WHITE);
rectangle(x/30,y/20,x/5,y/4);
}
[CODE]
![]() |
Similar Threads
- getting graphics into c++ (C++)
- Roblox seeks Game and Graphics Guru (Software Development Job Offers)
- Graphics cards question? (Monitors, Displays and Video Cards)
- Graphics T and L support (Monitors, Displays and Video Cards)
- XP and Graphics card problems (Windows NT / 2000 / XP)
- graphics card (Monitors, Displays and Video Cards)
- recommendations 4 a 3D graphics prog? (Graphics and Multimedia)
Other Threads in the C Forum
- Previous Thread: sizeof(long double) problem
- Next Thread: Binary Search Tree problem
| Thread Tools | Search this Thread |
#include adobe ansi api array asterisks binarysearch changingto char character cm copyimagefile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax database directory dynamic execv feet fgets file fork forloop frequency function getlasterror givemetehcodez global grade graphics gtkgcurlcompiling hacking hardware highest histogram i/o include incrementoperators infiniteloop input interest kernel keyboard kilometer license linked linkedlist linux linuxsegmentationfault list locate logical_drives looping loopinsideloop. lowest match matrix meter microsoft motherboard mqqueue mysql number odf opensource owf pattern pdf performance pointer posix probleminc process program programming radix recursion recv repetition research reversing scanf segmentationfault sequential shape socket socketprograming standard string systemcall threads turboc unix user voidmain() wab windows.h windowsapi






