How qqwst/lllr2 works
This repository is a collection of independent C++ lab programs, not one integrated application. Users run separate command-line exercises: stack operations, a persistent set, a turtle-statement counter, a character histogram, Huffman encoding/decoding, Roman-numeral conversion using a hash table, and an LFU cache. The graph shows the documented and indexed call relationships; unsampled implementations are represented only at their supported directory paths, with no inferred links between exercises.
Main entry points: 5.Huffman/main.cpp Encoding workflow · 2. Set/main.cpp Set command loop · Huffman.cpp Huffman operations · set.cpp Hash-bucket set
Components 18
Data structures
- Stack operations
1. Stack/logic.cpp - Stack structure
1. Stack/stack.cpp - Set persistence
2. Set/file.cpp - Hash-bucket set
2. Set/set.cpp - Dynamic array and counts
4.Gistgramm/array.cpp - Chained and cuckoo tables
6.HashT/hash_table.cpp - LFU cache
7.LFU/lfu.cpp
Lab programs
- Stack exercise
1. Stack/main.cpp - Set command loop
2. Set/main.cpp - Turtle counter
3. Turtle/main.cpp - Histogram exercise
4.Gistgramm/main.cpp - Roman numeral converter
6.HashT/main.cpp - LFU request loop
7.LFU/main.cpp
Huffman coding
- Encoding workflow
5.Huffman/main.cpp - Huffman operations
5.Huffman/Huffman.cpp - Huffman tree
5.Huffman/structs/tree.cpp - Code table list
5.Huffman/structs/flist.cpp
Other components
- Command-line user
Connections 21
- Command-line user → Stack exercise: runs
- Command-line user → Set command loop: runs
- Command-line user → Turtle counter: runs
- Command-line user → Histogram exercise: runs
- Command-line user → Encoding workflow: runs
- Command-line user → Roman numeral converter: runs
- Command-line user → LFU request loop: runs
- Stack exercise → Stack operations: calls
1. Stack/main.cpp - Stack operations → Stack structure: uses
- Set command loop → Set persistence: loads and saves
2. Set/main.cpp - Set command loop → Hash-bucket set: calls
2. Set/main.cpp - Set persistence → Hash-bucket set: uses
- Turtle counter → Hash-bucket set: checks and updates
3. Turtle/main.cpp - Histogram exercise → Dynamic array and counts: uses
4.Gistgramm/main.cpp - Encoding workflow → Huffman operations: encodes and decodes
5.Huffman/main.cpp - Encoding workflow → Huffman tree: builds and deletes
5.Huffman/main.cpp - Encoding workflow → Code table list: creates and frees
5.Huffman/main.cpp - Huffman operations → Huffman tree: builds and traverses
- Huffman operations → Code table list: uses code table
- Roman numeral converter → Chained and cuckoo tables: stores and searches
6.HashT/main.cpp - LFU request loop → LFU cache: gets and sets
7.LFU/main.cpp