From a5801b7808860eda217ae934dd4d382872632093 Mon Sep 17 00:00:00 2001 From: hnu202326010401 <2263510185@qq.com> Date: Tue, 30 Sep 2025 15:42:49 +0800 Subject: [PATCH] ADD file via upload --- src/case.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/case.h diff --git a/src/case.h b/src/case.h new file mode 100644 index 0000000..6ee5bcb --- /dev/null +++ b/src/case.h @@ -0,0 +1,25 @@ +#ifndef CASE_H +#define CASE_H + +#include + +class User{ +public: + std::string UserName; + std::string Password; + std::string UserType; + + User(const std::string& uname,const std::string& pwd,const std::string& type) + :UserName(uname),Password(pwd),UserType(type){} +}; + +class Question{ +public: + int id; + std::string content; + + Question(int ID,const std::string& cont) + :id(ID),content(cont){} +}; + +#endif \ No newline at end of file