EE308 LAB2
|
The Link Your Class | |
|
The Link of Requirement of This Assignment | |
|
The Aim of This Assignment |
Self Introduction & Cource Plan |
|
MU STU ID and FZU STU ID |
19104987--831901324 |
| Personal Software Process Stage | Predicted Spending Time(min) | Real Spending Time(min) |
|---|---|---|
| Planning | 30 | 40 |
| Development: Analysis | 170 | 130 |
| Development: Design Spec | 60 | 90 |
| Development: Design Review | 30 | 60 |
| Develpment: Coding Standard | 40 | 40 |
| Develpoment: Design | 30 | 50 |
| Development: Coding | 360 | 640 |
| Development: Code Review | 240 | 300 |
| Development: Test | 150 | 180 |
| Reporting: Test Report | 120 | 180 |
| Reporting: Size Measurement | 20 | 10 |
| Reporting: Postmortem&Process Improvement | 30 | 30 |
| Total | 1300 | 1700 |
github address
https://github.com/947339463/ee/blob/main/lab2.cpp
Ideas of solving the problem
The problem is to read strings and count themFinding information relies on the Internet and past courseware
Learn file reading and string extraction and counting methods. I decide to use C++ to solve.the judgment conditions for the two structures are very similar, so they are written together.I use "stack" to solve this problem.
Design and implementation process




Summary
I use bilibili to learn c++.In the process of doing or encountered a lot of trouble.Especially for file flows and stacks.Since I wasn't very good at it before, I spent a lot of time learning it this time, but eventually I understood some of it and could barely write code.In general, although I took many detours this time, I felt a sense of achievement when I finally finished the task.In addition, I also learned a lot of knowledge during this period, such as PSP tables, using Github to make flow charts and so on.At the same time, it made me consolidate what I had learned before.By the way, this is my first performance analysis of the code.Honestly, I don't know how to read it.I can get some guidance in the future.I don't know why the function names here are all garbled, right
相关推荐
EE-308 LAB4 final version.7z
这是本次实验的压缩包
Microsoft.WinDbg-1.2610.1001.0-x64
Microsoft.WinDbg-1.2610.1001.0-x64
Claude 代码超强能力:核心技能库
Superpowers 是一套面向你的编码智能体的完整软件开发方法论,由一组可组合技能和若干初始指令构建而成,用以确保智能体真正使用这些技能。
PDF发票内容提取排版并结构化导出xlsx/cvs嵌入式ptyhon
【本地发票提取工具】 核心优势:不依赖传统粗糙 OCR,基于文字排版结构进行精准提取。仅“税网”下载及税网邮件发送的原版 PDF 发票(开票软件发送的不太支持)能实现开票明细级的秒级本地提取,告别只能提抬头、总额的尴尬。 可免费试用 3 天! 【用前须知】 去微软官网下载VC_redist.x64.exe运行修复运行库(必要的前置操作),之后再解压本工具rar,运行本exe即可。 VC_redist.x64.exe官网永久下载地址 https://learn.microsoft.com/zh-cn/cpp/windows/latest-supported-vc-redist 【安全须知】 个人开发暂未做代码签名,杀软可能会有误报拦截。遇到拦截请在杀软中添加信任/白名单即可。 VirusTotal扫描结果 2/61,主流杀软均通过,个别引擎因无签名误报。官网 virustotal.com 点击页面中间显眼的 “Choose file”(选择文件)按钮上传扫描。
Flask校园二手交易平台课设
这是一份基于 Flask + SQLite 的校园二手交易平台课程设计完整资料,包含实验报告(Markdown、HTML、PDF 三种格式)、全部 Python 源码、8 个 Jinja2 页面模板、5 张运行截图、答辩 PPT。学生注册账号后发布闲置物品,同校同学按分类翻、按关键词搜,看中了在详情页留言咨询,管理员能下架违规商品。不接支付不做物流,买卖双方线下交易,平台只负责信息展示和沟通,一个学期课设能做完。 系统功能:用户注册登录登出,session 维持登录态;发布商品填标题、描述、价格、选六类分类,图片可选上传不强制;首页卡片网格展示在售商品,顶部搜索框按标题描述模糊匹配,下方分类按钮筛选,搜索和筛选可组合;商品详情页展示大图、完整描述、卖家昵称,登录用户能留言咨询;我的发布页能看自己挂过的所有商品并删除;管理员后台能看全部商品,一键下架违规品或恢复在售。 几个值得参考的实现点:密码用 Werkzeug 哈希加盐存储;登录接口不区分"用户不存在"和"密码错误",防枚举用户名;图片上传限制后缀和 2MB,文件名随机串重命名,防覆盖和传脚本;分类和搜索筛选组合用动态拼 SQL;首次启动自动建表写管理员账号;Bootstrap 5 栅格,手机浏览器也能看。 适合正在做 Web 课程设计、Python 后端入门的学生,以及想学习"Flask 蓝图 + SQLite + 登录鉴权 + 文件上传"完整小项目的自学者。拿到手后 cd src,pip install -r requirements.txt,python app.py,浏览器开 http://127.0.0.1:5000 即可,管理员账号 admin/admin123,普通用户自行注册。


