aboutsummaryrefslogtreecommitdiff
path: root/Homework 8/MyStructures/Contact.hpp
diff options
context:
space:
mode:
authorYana Blashchishina <[email protected]>2024-03-10 18:40:00 -0700
committerYana Blashchishina <[email protected]>2024-03-10 18:40:00 -0700
commita685a01c122b6650931bcef1c2493232fcddaef4 (patch)
treebc1413765969d6201b588bedaaf8b18875d0af43 /Homework 8/MyStructures/Contact.hpp
parentvoids (diff)
downloadhomework-8-yanablash-a685a01c122b6650931bcef1c2493232fcddaef4.tar.xz
homework-8-yanablash-a685a01c122b6650931bcef1c2493232fcddaef4.zip
i keep forgetting to commit
Diffstat (limited to 'Homework 8/MyStructures/Contact.hpp')
-rw-r--r--Homework 8/MyStructures/Contact.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Homework 8/MyStructures/Contact.hpp b/Homework 8/MyStructures/Contact.hpp
index 5d47aed..e079797 100644
--- a/Homework 8/MyStructures/Contact.hpp
+++ b/Homework 8/MyStructures/Contact.hpp
@@ -110,7 +110,8 @@ void Contact<T>::SetCustomValue(T& newValue)
template<typename T>
void Contact<T>::Print()
{
-
+ std::cout << "Name: " << name_ << std:: endl;
+ std::cout << "Age: " << age_ << std::endl;
}