aboutsummaryrefslogtreecommitdiff
path: root/week10/Exercise10/SaveableString.h
diff options
context:
space:
mode:
Diffstat (limited to 'week10/Exercise10/SaveableString.h')
-rw-r--r--week10/Exercise10/SaveableString.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/week10/Exercise10/SaveableString.h b/week10/Exercise10/SaveableString.h
new file mode 100644
index 0000000..3952c27
--- /dev/null
+++ b/week10/Exercise10/SaveableString.h
@@ -0,0 +1,8 @@
+#pragma once
+#include "ModifiableString.h"
+
+class SaveableString : ModifiableString {
+public:
+ void write(const char* fileName);
+ void read(const char* fileName);
+};