From 659fed3c1a322be019e794378a3e4a49e5c1f210 Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Fri, 8 Mar 2024 14:21:55 -0800 Subject: main.cpp connected to contact.hpp --- My structures/Contact.hpp | 6 ++++++ Project1/Project1.vcxproj | 3 +++ Project1/main.cpp | 9 +++++++++ 3 files changed, 18 insertions(+) diff --git a/My structures/Contact.hpp b/My structures/Contact.hpp index b490612..5a53fea 100644 --- a/My structures/Contact.hpp +++ b/My structures/Contact.hpp @@ -1,10 +1,16 @@ #ifndef CONTACT_HPP #define CONTACT_HPP +namespace myStructures +{ +} + + + #endif CONTACT_HPP \ No newline at end of file diff --git a/Project1/Project1.vcxproj b/Project1/Project1.vcxproj index 9d96311..fac92e1 100644 --- a/Project1/Project1.vcxproj +++ b/Project1/Project1.vcxproj @@ -70,6 +70,9 @@ + + C:\Users\thesa\source\repos\homework-8-connormcdowell275\My structures;$(IncludePath) + Level3 diff --git a/Project1/main.cpp b/Project1/main.cpp index 61456c7..ef8b196 100644 --- a/Project1/main.cpp +++ b/Project1/main.cpp @@ -1,4 +1,13 @@ +// 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 +using std::cin; +using std::cout; +using std::endl; int main() -- cgit v1.2.3