'How to fix turbo c++ error "Cannot open include file: graphics.h: no such files or director"
I had been using turbo c++ compiler in windows xp but i have installed windows 7 yesterday and now i am having a small problem, turbo c++ is not working in window 7 ultimate 64bit. It say "Cannot open include file: graphics.h: no such files or directory" when i wanna include header file.
Solution 1:[1]
Check your include directory settings and make sure they are referring to the right location and graphics.h is in that location. I am assuming you are using
#include <graphics.h>
rather than
#include "graphics.h"
Solution 2:[2]
I'm not sure the code will need to change (as it was compiling before presumably) but more you need to add some folders to the system include paths.
I am also curious as to why you'd be using TurboC++. I'm still using VC6 at work and I consider that ancient!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Captain Obvlious |
| Solution 2 | codah |
