when i try to compile the below code in borland c++ 5.5 , it show "graphics.h" can't be included . but when i try to compile the same code in turbo c++ 3.5 ( dos ) it does't show any error and runs quite well.
I had copy paste the graphics.h and graphics.lib files into borland c++'s respective directories. Still there is errors.
My question is how to run graphics programs in borland c++ or any windows based compiler ( not in dos )?
please help me .
initgraph(&gd,&gm,"c:\\tc\\bgi"); // remember there is no bgi files in borland c++ 5.5
setcolor ( RED);
line ( 25,25,100,25);