How yxn4065/datastructure-2021 works
This repository contains four independent C++ course projects: a student address book, Huffman encoder/decoder, traffic consultation system, and library manager. Their common user flow is menu-driven input followed by a domain operation and, where documented, file-backed data access or output. The README describes capabilities but no source excerpts were provided, so internal call structure is not verified; the edges below reflect only documented behavior.
Main entry points: HuffmanCoding.cpp Huffman Tool · LibraryManageSystem.cpp Library Manager · StudentAddress.cpp Address Book · map.cpp Traffic Consultant
Components 16
Student Address Book
- Address Book
StudentAddressBookSystem/StudentAddress.cpp - Contact Operations
StudentAddressBookSystem/StudentAddress.cpp - Contact File
StudentAddressBookSystem/Address_book.txt
Huffman Coding
- Huffman Tool
Huffman/HuffmanCoding.cpp - Encode Message
Huffman/HuffmanCoding.cpp - Decode Message
Huffman/HuffmanCoding.cpp - Code Files
Huffman/huffman_temp
Traffic Consultation
- Traffic Consultant
TrafficMap/map.cpp - Route Queries
TrafficMap/map.cpp - Map Data
TrafficMap/map.txt
Library Management
- Library Manager
LibrarySystem/LibraryManageSystem.cpp - Book Services
LibrarySystem/LibraryManageSystem.cpp - Reader Services
LibrarySystem/LibraryManageSystem.cpp - Book Records
LibrarySystem/library.txt - User Records
LibrarySystem/user.txt
Other components
- User
Connections 15
- User → Address Book: uses
README.md - Address Book → Contact Operations: offers
README.md - Contact Operations → Contact File: reads and writes
README.md - User → Huffman Tool: uses
README.md - Huffman Tool → Encode Message: encodes
README.md - Huffman Tool → Decode Message: decodes
README.md - Huffman Tool → Code Files: stores codes
README.md - User → Traffic Consultant: uses
README.md - Traffic Consultant → Route Queries: answers queries
README.md - Route Queries → Map Data: uses map data
- User → Library Manager: uses
README.md - Library Manager → Book Services: offers
README.md - Library Manager → Reader Services: offers
README.md - Book Services → Book Records: reads and writes
README.md - Reader Services → User Records: reads and writes
README.md