2017 class object-oriented programming assignment one

pta


After a week of learning C++, I have roughly mastered some operations of the basic classes. This elevator operation also constructed two classes, elevator and passenger. Since I'm not proficient with them, it took a lot of time in the construction process. In this programming process, the biggest problem is about file input and output. About its learning, I learned it through Baidu's blog, but after trying various methods, the "open failed" situation appeared. The same code can be implemented on another computer, I am helpless. In the end, I chose to use the C language file to read in during the winter vacation. But there are still bugs, due to the lack of understanding of his implementation process, it has not been debugged until now.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324649375&siteId=291194637