Question:Write a c program which changes the position of cursor 

Answer 
#include<dos.h>
#include<stdio.h>
void main()
{
union REGS i,o;
i.h.ah=2;   //positioning the cursor 
i.h.bh=0;
i.h.dh=30;   
i.h.dl=45;
int86(0x10,&i,&o);
printf("World");
getch();
}
 

+ Report
Total Preview: 885
Write a c program which changes the position of cursor
Copyright © 2024. Powered by Intellect Software Ltd