jisha
February 3, 2010, 6:02am
1
Hi All,
When i am trying to include graphics.h ,dos.h and conio.h, its giving error as follows:
pgm.c:2:17: dos.h: No such file or directory
pgm.c:3:22: graphics.h: No such file or directory
pgm.c:4:19: conio.h: No such file or directory
Whereas stdio.h, stdlib.h and time.h gets included.
What could be the reason for this. And how can it be resolved.
pludi
February 3, 2010, 6:53am
2
Which OS, which compiler? If it a UNIX, you're out of luck anyways, as dos.h, conio.h, and graphics.h are MS specific headers, found only on DOS and newer.
pludi:
Which OS, which compiler? If it a UNIX, you're out of luck anyways, as dos.h, conio.h, and graphics.h are MS specific headers
Sometimes Borland has them.
pludi
February 3, 2010, 1:35pm
4
But since there are no Borland compilers for UNIX, the result is pretty much the same.