123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home
Source Codes
Engineering Colleges

Training  Reports
Seminar Reports
Placement Papers

Forums

   Computer Science / IT
   Electronics
   Electrical
   Mechanical
   Chemical
   Civil

   CAT / MBA

   GMAT / Foreign MBA
Latest Jobs

Engineering Jobs / Technical Jobs
Management Jobs

Sitemap
Terms of use

Displaying  Source Code(s)  
 

 
Program for Setting the cursor position at desired location.

--------------------------------------------------------------------------------



#include<stdio.h>
#include<conio.h>
#include<dos.h>

void main(void)
{
clrscr();
int x,y;
union REGS regs;
printf("
Enter the X-position - ");
scanf("%d",&x);
printf("
Enter the Y-position - ");
scanf("%d",&y);
regs.h.ah = 2;
regs.h.bh = 0;
regs.h.dh = y;
regs.h.dl = x;
int86(0x10,s,s);
getch();
}

 

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved copyright 123ENG