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