-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patht3_ccontrol.cpp
More file actions
60 lines (55 loc) · 1.13 KB
/
Copy patht3_ccontrol.cpp
File metadata and controls
60 lines (55 loc) · 1.13 KB
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
49
50
51
52
53
54
55
56
57
58
59
#include<iostream>
#include<cstdlib>
#include"t3_adm.h"
using namespace std;
void customer::view_c1customer()
{
customer c;
int cid4;
cout<<"\n\n\n\t\t\t\t\t\t\t\tEnter the Customer Id : ";
cid4=cus_id_int();
//cin>>cid4;
c.view_1customer(cid4);
cout << "\n\n\n\t\t\t\t\t\t\tPress any key to continue...";
char userContinue;
cin >> userContinue;
system("clear");
}
void customer::chg_cfirstname(int u)
{
customer c;
c.chg_firstname(u);
delay_time(4000);
}
void customer::chg_clastname(int u)
{
customer c;
c.chg_lastname(u);
delay_time(4000);
}
void customer::chg_caddress(int u)
{
customer c;
c.chg_address(u);
delay_time(4000);
}
void customer::view_ccustomer(int u)
{
customer c;
c.view_customer(u);
//delay_time(3000);
cout << "\n\n\n\t\t\t\t\t\t\tPress any key to continue...";
char userContinue;
cin >> userContinue;
system("clear");
}
void customer::view_cstatus(int u)
{
customer c;
c.view_status(u);
delay_time(4000);
cout << "\n\n\n\t\t\t\t\t\t\tPress any key to continue...";
char userContinue;
cin >> userContinue;
system("clear");
}