-
Notifications
You must be signed in to change notification settings - Fork 0
/
design.cpp
38 lines (37 loc) · 1.2 KB
/
design.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include"header.h"
#include<bits/stdc++.h>
COORD coord = {0, 0}; // sets coordinates to 0,0
//COORD max_buffer_size = GetLargestConsoleWindowSize(hOut);
COORD max_res,cursor_size;
void gotoxy (int x, int y)
{
coord.X = x; coord.Y = y; // X and Y coordinates
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}
void design()
{
int t;
gotoxy(20,3);
cout<<"Enter the Information Below";
gotoxy(20,4);
cout<<"\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout<<"\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
gotoxy(20,5);
cout<<"\xB2";gotoxy(50,5);cout<<"\xB2";
gotoxy(20,6);
cout<<"\xB2";gotoxy(50,6);cout<<"\xB2";
gotoxy(20,7);
cout<<"\xB2";gotoxy(50,7);cout<<"\xB2";
gotoxy(20,8);
cout<<"\xB2";gotoxy(50,8);cout<<"\xB2";
gotoxy(20,9);
cout<<"\xB2";gotoxy(50,9);cout<<"\xB2";
gotoxy(20,10);
cout<<"\xB2";gotoxy(50,10);cout<<"\xB2";
gotoxy(20,11);
cout<<"\xB2";gotoxy(50,11);cout<<"\xB2";
gotoxy(20,12);
cout<<"\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout<<"\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
gotoxy(21,5);
}