(1) Write a c program which changes the position of cursor?
Answer:
#include
#include
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();
}
Write a c program to display mouse pointer
Mouse programming in c
System Level programming by c program
Cursor program
No comments:
Post a Comment