Advertisement
OctBlanc

Marco

Jun 25th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.56 KB | None | 0 0
  1. void marcoMenu(){
  2.     int x, y;
  3.     color(9);
  4.     /// Cuadrado Lineas
  5.     for(y=1; y<144; y++){
  6.         gotoxy(y, 0); printf("%c", 205);
  7.     }
  8.     for(x=0; x<34; x++){
  9.         gotoxy(144, x); printf("%c", 186);
  10.     }
  11.     for(x=1; x<34; x++){
  12.         gotoxy(1, x); printf("%c", 186);
  13.     }
  14.     for(y=1; y<144; y++){
  15.         gotoxy(y, 34); printf("%c", 205);
  16.     }
  17.     /// Esquinas
  18.     gotoxy(1, 0); printf("%c", 201);
  19.     gotoxy(144, 0); printf("%c", 187);
  20.     gotoxy(1, 34); printf("%c", 200);
  21.     gotoxy(144, 34); printf("%c", 188);
  22.     color(15);
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement