include Unit1 include vector class cbook public cbook String String St

 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
#include "Unit1.h"
#include <vector>
class cbook
{
public:
cbook(String,String,String);
String Out_cbook(String);
friend TForm;
String name;
String date;
String num;
};
cbook::cbook(String x, String y, String z)
{
cbook::name=x;
cbook::date=y;
cbook::num=z;
}
String cbook::Out_cbook(String Out) {
return(Out=Out+cbook::name+" : "+cbook::date+ " : " + cbook::num + "\n");
}