From 07636924acb5f5d9b297678ec6e9f874eeedb940 Mon Sep 17 00:00:00 2001 From: pofu6wkq7 <3340886557@qq.com> Date: Thu, 30 Nov 2023 22:14:07 +0800 Subject: [PATCH] =?UTF-8?q?Delete=20'=E5=AE=BF=E8=88=8D=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F.cpp'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 宿舍管理系统.cpp | 43 ------------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 宿舍管理系统.cpp diff --git a/宿舍管理系统.cpp b/宿舍管理系统.cpp deleted file mode 100644 index 5c1b41c..0000000 --- a/宿舍管理系统.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include - -// ѧ -class Student { -public: - std::string name; - int id; - // 캯 -}; - -// -class Dormitory { -public: - int roomNumber; - std::vector students; - // 캯 -}; - -// ϵͳ -class DormitoryManagementSystem { -private: - std::vector students; - std::vector dormitories; - -public: - void addStudent(const Student& student) { - students.push_back(student); - } - - void addDormitory(const Dormitory& dormitory) { - dormitories.push_back(dormitory); - } - - // ... -}; - -int main() { - DormitoryManagementSystem system; - // ѧ - return 0; -}