diff options
feat(Week10): Add solutions
1 files changed, 14 insertions, 0 deletions
| -rw-r--r-- | Week10/Exercise01/User.h | 14 |
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 */ |
