summaryrefslogtreecommitdiffstats
path: root/dev/a3-earthquake/earthquake.h
diff options
context:
space:
mode:
authorKT <tran0563@umn.edu>2021-09-06 19:07:33 -0500
committerKT <tran0563@umn.edu>2021-09-06 19:07:33 -0500
commitcccd3186305915d92b1751dc616979d64116a4aa (patch)
tree5dd4834daef547cd45fc0b643f44a10b581de0ad /dev/a3-earthquake/earthquake.h
parentAdded missing images for the A6 worksheet (diff)
downloadcsci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar
csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.gz
csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.bz2
csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.lz
csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.xz
csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.zst
csci4611-cccd3186305915d92b1751dc616979d64116a4aa.zip
Upload a1
Diffstat (limited to '')
-rw-r--r--dev/a3-earthquake/earthquake.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/dev/a3-earthquake/earthquake.h b/dev/a3-earthquake/earthquake.h
deleted file mode 100644
index 74f95e3..0000000
--- a/dev/a3-earthquake/earthquake.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/** CSci-4611 Assignment 3: Earthquake
- */
-
-#ifndef EARTHQUAKE_H_
-#define EARTHQUAKE_H_
-
-#include <string>
-
-#include "date.h"
-
-/** Small data structure for storing earthquake data.
- */
-class Earthquake {
-public:
- // Create an earthquake from a datafile's line of text
- Earthquake(std::string s);
- Earthquake();
-
- Date date();
-
- double longitude();
-
- double latitude();
-
- double magnitude();
-
-private:
-
- double ParseFloat(std::string s);
- int ParseInt(std::string s);
-
- std::string line;
-};
-
-#endif