forked from nrchaudhry/DLDProject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TEST.BAK
executable file
·48 lines (46 loc) · 1.17 KB
/
TEST.BAK
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
39
40
41
42
43
44
45
46
47
48
#include <graphics.h>
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <dos.h>
#include <string.h>
#include "c:\cld\basic.h"
#include "c:\cld\mouse.h"
void main(void)
{
int gdriver=DETECT,gmode,first=1;
char source[50],destination[50];
registerbgidriver(EGAVGA_driver);
registerbgifont(triplex_font);
initgraph(&gdriver,&gmode,"");
// initgraph(&gdriver,&gmode,"d:\\tc\\bgi");
comman2(0,0,getmaxx(),getmaxy(),1);
settextstyle(TRIPLEX_FONT, HORIZ_DIR, 5);
setcolor(0);
outtextxy(32,39,"Computer Logic and Design");
outtextxy(33,40,"Computer Logic and Design");
setcolor(14);
outtextxy(31,38,"Computer Logic and Design");
outtextxy(30,38,"Computer Logic and Design");
comman(130,120,515,320,7);
comman1(260,200,489,220,15);
setcolor(0);
settextstyle(2,0,5);
outtextxy(170,140,"Enter the path of Destination :");
outtextxy(160,200,"Destination :");
strcpy(destination,"C:\\CLD");
comman2(263,203,315,218,19);
outtextxy(265,203,destination);
char ch=getch();
if (ch==13)
{
comman2(263,203,320,218,15);
outtextxy(265,203,destination);
}
else
{
comman2(263,203,320,218,15);
}
getch();
closegraph();
}