Write
the c program to switch the 256 color graphics mode
#include<stdio.h>
#include<dos.h>
void main()
{
int x,y,b;
union REGS i,o;
i.h.ah=0;
i.h.al=0x13;
int86(0x10,&i,&o); getch();
}
Write a c program to create a directory in current working directory?
#include<stdio.h>
void main()
{
union REGS i,o;
i.h.ah=0x39;
i.x.dx="ravan";
int86(0x21,&i,&o);
}
1 comment:
@ arun b
the header file is DOS.h
Post a Comment