-
Notifications
You must be signed in to change notification settings - Fork 0
/
bt.h
66 lines (63 loc) · 1.38 KB
/
bt.h
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
60
61
62
63
64
65
66
#include <iostream.h>
#include <string.h>
# ifndef KONTAK_H
# define KONTAK_H
class Kontak
{
friend istream& operator >>(istream& in, Kontak& P)
{
P.menu_awal();
return in;
}
friend ostream& operator <<(ostream& out, Kontak& Q)
{
//Q.Menu();
return out;
}
private:
Kontak * akar;
Kontak * induk;
Kontak * kiri;
Kontak * kanan;
char nama[40];
char telp[20];
int jumlah;
char kd[8];
public:
Kontak();
~Kontak();
//=============
int tambah( Kontak * ortu, Kontak * baru );
Kontak * cari( Kontak * simpul, char * nama );
Kontak * edit( Kontak * simpul, char * nama );
void hapus_semua_simpul( Kontak * simpul );
void tampil( Kontak * simpul );
//=============
int tambah( char * nama, char * telp );
int hapus( char * nama );
int edit( char *nama);
int cari( char * nama );
void tampil();
void cetak_search( Kontak * simpul,char* dicari );
void cetak_search(char* dicari);
//====menu===
bool cek(char *telp, bool a);
void kotak_warna(int aRow, int aCol, int aHeight, int aWidth,int warna, bool aShadow);
void xBACK_GROUND(int ForgC, int BackC);
void menu_awal();
void menu_utama();
void menu_pilih();
void menu_password();
void menu_add();
void tampil_pilih();
void tabel_tampil();
void menu_other();
void menu_utama2();
void keluar();
void Set_password();
void ganti_password();
void Password();
void about_this();
int plus();
};
#endif