EE308 LAB2

The Link Your Class

https://bbs.csdn.net/forums/MUEE308FZ

The Link of Requirement of This Assignment

https://bbs.csdn.net/topics/600546911

The Aim of This Assignment

Self Introduction & Cource Plan

MU STU ID and FZU STU ID

19104987--831901324

Personal Software Process StagePredicted Spending Time(min)Real Spending Time(min)
Planning3040
Development: Analysis170130
Development: Design Spec6090
Development: Design Review3060
Develpment: Coding Standard4040
Develpoment: Design3050
Development: Coding360640
Development: Code Review240300
Development: Test150180
Reporting: Test Report120180
Reporting: Size Measurement2010
Reporting: Postmortem&Process Improvement3030
Total13001700

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

·