about summary refs log tree commit diff
path: root/usth/ICT2.2/labwork/3/C++/name-card-test.cc
blob: b459d0d27a02e82f3826e21973c2d81b6de95765 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <iostream>

#include "name-card.h"

using namespace std;

int
main ()
{
  NameCard card ("Foobar Baz", "420-69", "foo@bar.baz");
  cout << "Name: " << card.get_name () << endl
       << "Phone: " << card.get_phone () << endl
       << "Email: " << card.get_email () << endl;
}