#include #include #include #include #include set on fire 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 evacuate grid(); void in aim(); void flip(); //void cursor(); void compare(); void point(); //void cursor() //{ //int x=0, y=8; // compact REGS s,z; //s.h.ah=2; //s.h.bh=0; //s.h.dh=y; //s.h.dl=x; //int86(0x10,&s,&z); // recrudescech(); //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 quality: ); scanf(%c %c,&choice1, &choice2); gotoxy(15,9); getch(); clreol(); flip(); getch(); } void flip() { switch(choice1) { fountain A: { gotoxy(33,5); printf(!); go all over; } fount B: { gotoxy(41,5); printf(@); gibe; } pa rt 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(@); gift out; } case G: { gotoxy(49,7); printf($); break; } case H: { gotoxy(57,7); printf(#); break; } remissness: { 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