Hi
Does anybody know how to use graphics in borland c++ 5.5, I just want to get to screen 13h but most examples on the web don't seem to work!
Thanks...
Hi
Does anybody know how to use graphics in borland c++ 5.5, I just want to get to screen 13h but most examples on the web don't seem to work!
Thanks...
...
int main()
{
//Set up mode13 graphics mode
asm mov ax, 13h;
asm int 10h;
//Return to text mode
asm mov ax, 03h;
asm int 10h;
return 0;
}
You cannot use the Win32 compiler to compile this code, use the DOS compiler (bcc -ml 'filename'), or select DOS (standard) under TARGETEXPERT - PLATFORM.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.