aboutsummaryrefslogtreecommitdiff
path: root/week11/Exercise08/Location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'week11/Exercise08/Location.cpp')
-rw-r--r--week11/Exercise08/Location.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/week11/Exercise08/Location.cpp b/week11/Exercise08/Location.cpp
new file mode 100644
index 0000000..c63f470
--- /dev/null
+++ b/week11/Exercise08/Location.cpp
@@ -0,0 +1,5 @@
+#include "Location.h"
+
+unsigned Location::size() {
+ return (Length() + 1) + sizeof(lattitude) + sizeof(longitude);
+}