Write the c program to switch the 256 color graphics mode ?.
Ans:#include
#include
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?
Ans:
#include
void main()
{
union REGS i,o;
i.h.ah=0x39;
i.x.dx="lakshmi";
int86(0x21,&i,&o);
getch();
}
No comments:
Post a Comment