diff options
| author | Connor McDowell <[email protected]> | 2024-02-22 17:15:30 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-22 17:15:30 -0800 |
| commit | 0acf440edaa239078c308b16d14f0a6f7b79687d (patch) | |
| tree | b81d1b0dbc8fe99a4938b280973296ee79b0a3c2 /Project1/main.cpp | |
| parent | add deadline (diff) | |
| download | archived-in-class-exercise-13-connormcdowell275-0acf440edaa239078c308b16d14f0a6f7b79687d.tar.xz archived-in-class-exercise-13-connormcdowell275-0acf440edaa239078c308b16d14f0a6f7b79687d.zip | |
add getters and setters
Diffstat (limited to 'Project1/main.cpp')
| -rw-r--r-- | Project1/main.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Project1/main.cpp b/Project1/main.cpp new file mode 100644 index 0000000..85da978 --- /dev/null +++ b/Project1/main.cpp @@ -0,0 +1,26 @@ +// Name: Connor McDowell +// date: 2/19/24 +// class: CST116 +// reason: learning classes, in class exercise 13 + +#include <iostream> +#include "contact.h" + +using std::cin; +using std::cout; +using std::endl; + + +int main() +{ + contact newContact; + + //cout << newContact.GetAge(); + + //newContact.SetAge(42); + //newContact + + newContact.print(); + + return 0; +}
\ No newline at end of file |