Website Summary Files Commits Branches @commit @diff @stats
path: root / Week10 / Exercise01 / User.h
diff options
context:
space:
mode:
1 files changed, 14 insertions, 0 deletions
-rw-r--r--Week10/Exercise01/User.h14
diff --git a/Week10/Exercise01/User.h b/Week10/Exercise01/User.h
new file mode 100644
index 0000000..e0afcdc
--- /dev/null
+++ b/Week10/Exercise01/User.h
@@ -0,0 +1,14 @@
+#ifndef _USER
+#define _USER
+
+class User {
+ unsigned ID;
+ char name[1024];
+ char password[128];
+ unsigned yearRegistered;
+
+public:
+ bool LogIn(const char* name, const char* password);
+};
+
+#endif /* _USER */