How syampullamar/custom-string-class-in-c- works
strin is a small C++ learning project that implements a raw-buffer string class and C-string-like operations. Its main workflow is interactive: the demo reads two lines, exercises copy, comparison, mutation, search, and length operations, then prints results. Stream input temporarily writes each line to a file before loading it into a string. All runtime code is in main.cpp; the README documents capabilities beyond the sampled implementation, so the graph groups related operations rather than implying separate modules.
Main entry points: main.cpp Interactive demo
Components 11
Other components
- User
- Interactive demo
main.cpp - strin class
main.cpp - Operators
main.cpp - Copy and compare
main.cpp - String mutations
main.cpp - Search and length
main.cpp - Stream input
main.cpp - Stream output
main.cpp - data file
- Terminal
Connections 14
- User → Interactive demo: enters strings
- Interactive demo → Stream input: reads lines
- Stream input → data file: writes then reads
- Stream input → strin class: sets buffer
- Interactive demo → Copy and compare: copies and compares
- Interactive demo → String mutations: mutates strings
- Interactive demo → Search and length: searches and measures
- Interactive demo → Operators: uses operators
- Operators → strin class: accesses buffers
- Interactive demo → Stream output: prints results
- Stream output → Terminal: writes text
- Copy and compare → strin class: accesses buffers
- String mutations → strin class: modifies buffers
- Search and length → strin class: reads buffers