i am writing a simple program actually implementing scan line algorithm in C++ using Visual Studio 2010. but i am getting an error saying graphics.h file can not be found. can anybody tell me how to solve that problem? or any other way(without using graphics.h) to implement scan line algorithm.
Asked
Active
Viewed 4,866 times
2 Answers
0
Actually, graphics.h
is a deprecated header file for graphics. It is used for old age compilers like Turbo-C++.
In my knowledge, graphics.h
does not support scan line algorithm, better use some better graphics libraries like OpenGL.
Good luck. :)

shauryachats
- 9,975
- 4
- 35
- 48
0
You'd probably #include <windows.h>
. It's not entirely clear what you mean by "scan line algorithm", but at first blush it sounds a bit like LineDDA
might be what you're after.

Jerry Coffin
- 476,176
- 80
- 629
- 1,111