aboutsummaryrefslogtreecommitdiff
path: root/Project1/main.cpp
blob: e4e969a9a6467a2102b2b724638f717d5f375cad (plain) (blame)
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
// author: Connor McDowell
// date: 3/8/2024
// class: CST116 at OIT
// reason: refactoring address book program that used .h and .cpp files with classes into a similar program using .hpp files (assignment 8)
#include "Contact.hpp"
#include <iostream>

using std::cin;
using std::cout;
using std::endl;

using namespace myStructures;

int main()
{


	return 0;
}


// contact list class below, holding for later.

//template <class CList>
//class ContactList
//{
//public:
//    ContactList() = default;
//    ContactList(size_t size); //Creates contact list of this size
//    ContactList(const CList* contacts, const size_t& length); //Makes a copy of another contact list
//    ~ContactList();
//
//    ContactList(const ContactList& copy); //deep copy constructor
//    ContactList& operator=(const ContactList& rhs); //deep copy assignment
//
//    ContactList(ContactList&& move); //reference(move) constructor
//    ContactList& operator=(ContactList&& rhs); //reference(move) assignment
//
//private:
//    CList* contacts_{ nullptr };
//    size_t length_{ 0 };
//    size_t size_{ 0 };
//
//    CList* AllocateContactList(const size_t& size);
//};