aboutsummaryrefslogtreecommitdiff
path: root/CST 126/Homework 1/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CST 126/Homework 1/main.cpp')
-rw-r--r--CST 126/Homework 1/main.cpp58
1 files changed, 54 insertions, 4 deletions
diff --git a/CST 126/Homework 1/main.cpp b/CST 126/Homework 1/main.cpp
index dd21a1e..e223d37 100644
--- a/CST 126/Homework 1/main.cpp
+++ b/CST 126/Homework 1/main.cpp
@@ -1,13 +1,63 @@
// Name: Arthur Spears
// Class: CST 126
// Date: 3/31/24
-// Assignment: Homework
+// Assignment: Homework 1
#include <iostream>
+#include "helpers.hpp"
+#include "menu.hpp"
+#include <bitset>
-int main() {
+using std::cout;
+using std::endl;
+
+struct DailyTemperature
+{
+ int highTemp{};
+ int lowTemp{};
+};
+
+enum DayOfTheWeek
+{
+ Sunday = 0,
+ Monday,
+ Tuesday,
+ Wednesday,
+ Thursday,
+ Friday,
+ Saturday = 6
+};
- std::cout << "Hello world";
+enum Month
+{
+ January = 1,
+ February,
+ March,
+ April,
+ May,
+ June,
+ July,
+ August,
+ September,
+ October,
+ November,
+ December
+};
+struct Date
+{
+ Month month;
+ uint8_t day;
+ uint16_t year;
+};
+
+union FloatIntUnion
+{
+ float intFloat;
+ uint32_t uInt;
+};
+
+int main() {
+
return 0;
-} \ No newline at end of file
+}