guys i have a problem..i cannot use turboc compiler to compile a computer graphics program in my PC.Other C,C++ programs are run in C.But C Graphics programs are not running..i am using AMD 3600+ processor and nvidia motherboard (M2n-MX)..do any one help me with this..
😔???
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a
member of our community. Consider creating an
account or login.
You may have an error of runtime in windows if you do not specify correct path for initgraph(). Try getting correct path Remember that to specify \ you need to give \\ instead of \ . See if this works or post a small program that you cannot compile.
i have give all correct paths and i have included all graphics library...
but then also it not working...i am doing line drawing algorithms in C graphics.program is compiling but when i am trying to run it. turbo C is going to be closed..
so please help me wht to do ???
---->initgraph(&gd,&gm,"");
just replace this line by
---->initgraph(&gd,&gm,"c:\\tc\\bgi\\*.*");
make sure that all directories are properly addressed and you have and the path "c:\tc\bgi\" exists if such path does not exist then try to find some other compilor there there is no problem with your motherboard or processor.........😁
try this.........copy all the files in the "bgi" folder in the "tc" directry and paste it in the bin folder
.......also check for the directories i.e.they should be properly addressed........if still it does not work try different compiler........