{"id":23873009,"url":"https://github.com/maxwelljay256/cpplab_2023","last_synced_at":"2025-10-15T02:29:32.374Z","repository":{"id":194733271,"uuid":"686522693","full_name":"MaxwellJay256/CppLab_2023","owner":"MaxwellJay256","description":"HITSZ 2023 C++ 语言程序设计实验","archived":false,"fork":false,"pushed_at":"2023-11-25T15:35:32.000Z","size":1440,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T02:37:03.670Z","etag":null,"topics":["cpp","hitsz"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaxwellJay256.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-03T04:25:35.000Z","updated_at":"2024-07-19T01:06:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"5dd80dad-c5e4-4559-9f16-7a8fda57aea9","html_url":"https://github.com/MaxwellJay256/CppLab_2023","commit_stats":null,"previous_names":["maxwelljay256/cpplab_2023"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MaxwellJay256/CppLab_2023","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxwellJay256%2FCppLab_2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxwellJay256%2FCppLab_2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxwellJay256%2FCppLab_2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxwellJay256%2FCppLab_2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxwellJay256","download_url":"https://codeload.github.com/MaxwellJay256/CppLab_2023/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxwellJay256%2FCppLab_2023/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279035623,"owners_count":26089726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","hitsz"],"created_at":"2025-01-03T16:38:07.550Z","updated_at":"2025-10-15T02:29:32.334Z","avatar_url":"https://github.com/MaxwellJay256.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CppLab_2023\n\nHITSZ 2023 C++ 语言程序设计实验课项目\nby [@Maxwell Jay](https://github.com/MaxwellJay256)。\n\n项目使用 Visual Studio 2022 开发，但为了方便读取，就只上传了头文件(.h)和源文件(.cpp)。没有使用 CMake。\n\n每个实验下有一个 Report\u0026Materials 文件夹，里面有实验题目和用 Visio 画的算法流程图。\n\n实验报告就不上传了，白嫖不能太过分🤗。\n\n## Exp1：计算器 1\n\n实现一个简易计算器，通过一个字符栈实现表达式中数值与操作符的识别，以及括号的匹配，最后输出表达式的计算结果。\n\n- 关键词：栈，字符串处理，异常字符处理，操作符优先级判断，括号匹配\n\n## Exp2：计算器 2\n\n在实验 1 的基础上进行改进，使用类模板实现栈，分别用于储存操作符与操作数。\n\n- 关键词：类模板\n\n## Exp3：矩阵类\n\n编写一个矩阵类（为了降低难度，矩阵均为 4x4 方阵），实现矩阵初始化、加减乘运算、求逆、转置、标准输入输出等基本功能。\n\n- 关键词：类，构造函数，运算符重载，高斯-若尔当消元法，友元函数\n\n## Exp4：多态-平面图形\n\n定义抽象基类 Shape，由它派生出 3 个派生类：Circle、Triangle、Rectangle。\n用虚函数分别计算多个不同类图形的面积，并求它们的面积和。\n\n- 关键词：抽象基类，类继承，虚函数/纯虚函数，多态","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxwelljay256%2Fcpplab_2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxwelljay256%2Fcpplab_2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxwelljay256%2Fcpplab_2023/lists"}