AddressBooks
Version 0.1
This is a basic 10 person address book
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
src
Address.h
1
#ifndef ADDRESS_H
2
#define ADDRESS_H
3
4
#include <string>
5
#include "Date.h"
6
7
using
std::string;
12
class
Address
13
{
14
private
:
18
string
firstName
;
22
string
lastName
;
26
string
address
;
30
Date
birthday
;
31
public
:
35
Address
();
43
Address
(
string
firstName
,
string
lastName
,
string
address
,
Date
birthday
);
44
49
void
setFirstName
(
string
newFirstName );
54
void
setLastName
(
string
newLastName );
59
void
setAddress
(
string
newAddress );
64
void
setBirthday
(
Date
newBirthday );
69
string
getFirstName
()
const
;
74
string
getLastName
()
const
;
79
string
getAddress
()
const
;
84
Date
getBirthday
()
const
;
85
};
86
87
#endif
Generated on Sat Apr 5 2014 17:51:56 for AddressBooks by
1.8.2