123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home

Source Codes

BE Students

Training  Reports (updated)

Placement Papers (updated)

Forums

   Computer Science / IT

   Electronics

   Electrical

   Mechanical

   Chemical

   Civil

   CAT / MBA

   GMAT / Foreign MBA

Latest Jobs

Engineering Jobs / Technical Jobs

Management Jobs

Sitemap

About-Us

Terms of use

Displaying  Source Code(s)  
 

 
Program for setting different display modes.

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



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

void main(void)
{
clrscr();
int choice;
union REGS regs;
printf("
For CGA Mode(0-6).");
printf("
For Mono MOde(1).");
printf("
Select the Mode - ");
scanf("%d",&choice);
clrscr();
regs.h.ah = 0; /*Set cursor position*/
regs.h.al = choice;
int86(0x10,®s,®s);
gotoxy(40,12);
printf(" VyomWorld");
getch();
}


 

 

 

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