diff options
| author | Connor McDowell <[email protected]> | 2024-03-08 14:21:55 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-03-08 14:21:55 -0800 |
| commit | 659fed3c1a322be019e794378a3e4a49e5c1f210 (patch) | |
| tree | 98efd57ba09ff0d05a3acaa2fc97c7a8cc1c1935 | |
| parent | contact.hpp and main.cpp created. (diff) | |
| download | homework-8-connormcdowell275-659fed3c1a322be019e794378a3e4a49e5c1f210.tar.xz homework-8-connormcdowell275-659fed3c1a322be019e794378a3e4a49e5c1f210.zip | |
main.cpp connected to contact.hpp
| -rw-r--r-- | My structures/Contact.hpp | 6 | ||||
| -rw-r--r-- | Project1/Project1.vcxproj | 3 | ||||
| -rw-r--r-- | Project1/main.cpp | 9 |
3 files changed, 18 insertions, 0 deletions
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 @@ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <IncludePath>C:\Users\thesa\source\repos\homework-8-connormcdowell275\My structures;$(IncludePath)</IncludePath> + </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <WarningLevel>Level3</WarningLevel> 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 <iostream> +using std::cin; +using std::cout; +using std::endl; int main() |