Mail Archives: djgpp/2001/07/19/08:23:51
On Thu, 19 Jul 2001 Sterten AT aol DOT com wrote:
> OK, I knew, that I had perhaps to include a main()
Definitely!
> long int ScreenPrimary=0xb8000;
Don't do that, you might be mighty wrong! Instead, do this:
#include <conio.h>
This will pull in the correct definition of ScreenPrimary.
> looks fine and easy now , but took me quite some time !
You wanted to do something extremely system-dependent, and you didn't
even know that a C program must have a main function. That's quite a
steep learning curve, if you ask me.
- Raw text -