Hi all,
I tried to include the graphic library in C++ as in C: #include <Graphics.h>, but got an error saying: "no such a file or directory".. How bad!
How the graphic library can be attached in C++ and use it to draw a line for example?
you must be programming in turbo C++,, are you.. that blue one??
if thats the case, there is an option somewhere for directories in settings, add the path where your graphics.h is.. thats it.
The <graphics.h> is an old Borland library for DOS.
If your professor requires using it, you can use the WinBGIm library, which is the modern Win32 emulation of that old library. http://codecutter.org/tools/winbgim/
I may use SDL or OpenGL when reach a good advance of programming some algorithms I'm working on. I'm not a game programmer but SDL and OpenGL still useful in my case.
Thank you for the links!
Noha
George is a rabid MS groupie. Win32 is not particularly simple, especially for beginners -- it is a low-level API.
If you are trying to keep it simple, go with SDL. There is nothing wrong with using non-Microsoft-made libraries, and SDL is exceedingly easy to begin with.
There once was a man called George.
Who, on Microsoft products did gorge.
When it came to third party,
Especially things arty.
He was as blind a Gordy Laforge!