vmr_iitm
asked on
Turbo C++ 3.0 graphics
I have turbo C++ installed , but none of the graphics functions work, like initgraph.It gives linking errors.
If u could give the error details and the code u are using
I think you are getting an error:
Graphics error: Device driver file not found (EGAVGA.BGI)
Press any key to halt:
If it is so then follo this.
In initgraph() the last parameter is
"char far * pathtodriver"
generally we use "" in that field. Use the complete
path like "C:\\TC\\BGI". Don't forget to use double \\
or else copy your *.BGI files in directory from where you run your program.
Graphics error: Device driver file not found (EGAVGA.BGI)
Press any key to halt:
If it is so then follo this.
In initgraph() the last parameter is
"char far * pathtodriver"
generally we use "" in that field. Use the complete
path like "C:\\TC\\BGI". Don't forget to use double \\
or else copy your *.BGI files in directory from where you run your program.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It was correct