.

Wednesday, January 22, 2014

Turbo C

#include #include #include #include #include melanize choice1, choice2; char a, b, c, d, e, f, g, h; //char *pa=&a, *pb=&b, *pc=&c, *pd=&d, *pe=&e, *pf=&f, *pg=&g, *ph=&h; a leisure grid(); void in pose(); void flip(); //void cursor(); void compare(); void point(); //void cursor() //{ //int x=0, y=8; // substance REGS s,z; //s.h.ah=2; //s.h.bh=0; //s.h.dh=y; //s.h.dl=x; //int86(0x10,&s,&z); // becharmch(); //input(); //getch(); //} void grid() { a=A; b=B; c=C; d=D; e=E; f=F; g=G; h=H; printf(%c%c%c%c, a,b,c,d); printf(%c%c%c%c, e,f,g,h); getch(); } void input() { int x=0, y=8; union REGS s,z; s.h.ah=2; s.h.bh=0; s.h.dh=y; s.h.dl=x; int86(0x10,&s,&z); printf( earn prize: ); scanf(%c %c,&choice1, &choice2); gotoxy(15,9); getch(); clreol(); flip(); getch(); } void flip() { switch(choice1) { fact A: { gotoxy(33,5); printf(!); go everywhere; } eccentric person B: { gotoxy(41,5); printf(@); gibe; } character reference C: { gotoxy(49,5); printf(!); ascertain; } case D: { gotoxy(57,5); printf(#); put in; } case E: { gotoxy(33,7); printf($); tell apart; } case F: { gotoxy(41,7); printf(@); unfold out; } case G: { gotoxy(49,7); printf($); break; } case H: { gotoxy(57,7); printf(#); break; } oversight: { input(); //exit(0); //gotoxy(0,13); //printf( disenable INPUT!!!); //getch(); break; } } switch(choice2) { case A: { gotoxy(33,5); printf(!); break; } case B: { gotoxy(41,5); printf(@); break; } case C: { gotoxy(49,5); printf(!); break; } case D: { gotoxy(57,5); printf(#); break; } case E: { gotoxy(33,7); printf($); break; } case F: { gotoxy(41,7); printf(@); break; } case G: { gotoxy(49,7); printf($); break; } case H: { gotoxy(57,7); printf(#); break; } default: { input(); //exit(0); //gotoxy(0,13); //printf(INVALID INPUT!!!); //getch();...If you want to get a full essay, companionship it on our website: OrderCustomPaper.com

If you want to get a full essay, visit our page: write my paper

No comments:

Post a Comment