graphics.h doesnt works in codeblocs or visul cpp...then how should i use to display graphics or convert programs with graphics.h header file in codeblocs?
I tried to include <graphics.h> in VCE '10 and it appears to be an invalid file. Is <graphics.h> a file within MinGW suite that came with Code::Blocks?
I assumed that the OP meant "graphics.h" the DOS graphics header. If that is the case, it doesn't come with modern compilers, which is why you are having problems. You should probably not be using it anyway...
I ran a program which included included graphics header file and it didn't compile on latest borland c++ ide.It worked for my in turbo c++ environment.
Now that we have shifted from Windows XP to Windows 7 you can see that Turbo c++ doesn't work on this operating system.
So for this I downloaded DOS emulator(DOSBOX) installed it in Windows 7 and ran Turbo c++ in this emulator.
I then tested the graphics program which worked fine.