这是我的数据结构大作业,本来可以用多个cpp文件完成这一任务,但是我比较懒^_^,所以把所有的内容都集成在了同一个cpp文件里。这个文件大约有2K行cpp代码,简直就是屎山(
我的数据结构课程是中国人民大学 信息学院 蒋洪迅老师的课程,课程每年的作业大概率一成不变,因此如果你面临同样的问题时,可以来GitHub参考下我的代码哦!虽说我写的是依托就是了* _*
如果代码帮到了你,请留下一颗星星(可怜)
1.两个文件的读取路径我都已经删掉,如打算运行,请确保文件路径正确无误。
2.代码采用UTF-8中文编码,请确保调试工具正确,否则会出现中文乱码情况哦!
This is my data structure final project. Originally, I could have used multiple cpp files to complete this task, but I'm a bit lazy ^_^, so I integrated everything into a single cpp file. This file has around 2K lines of cpp code, and it's practically a pile of mess (
My data structure course is taught by Professor Jiang Hongxun from the School of Information at Renmin University of China. The homework for this course tends to stay the same every year, so if you're facing the same problem, feel free to refer to my code on GitHub! Though, just to clarify, the code is not that easy to read... * _*
If this code helped you, please leave a star (pretty please)
1.I have removed the file reading paths from both files. If you plan to run it, make sure the file paths are correct.
2.The code uses UTF-8 encoding for Chinese characters. Please ensure your debugging tool supports it; otherwise, you may encounter garbled Chinese characters!