From b6de4d194b5485ca99835e0b7691eec63b0273e8 Mon Sep 17 00:00:00 2001 From: Wyatt Date: Thu, 29 Sep 2022 14:28:51 -0700 Subject: Commit --- Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 24 ++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'Ch 5 Debugging Project/Ch 5 Debugging Project.cpp') diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp index 7ea8962..0dcf564 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -83,5 +83,27 @@ int main() cout << "After your raise you have $"; cout << money << endl; + return 0; -} \ No newline at end of file +} + +class Wall +{ + + int health; + + Wall(int newhealth) + { + health = newhealth; + } + + void damage(int damage) + { + health -= damage; + } + + void combine(Wall other) + { + + } +}; \ No newline at end of file -- cgit v1.2.3