Wordcount II: Introducing a cleaner C++ class hierarchy to `wc`
Marton Trencseni - Sat 23 September 2023 • Tagged with c++, wc
In this follow-up to the previous article about writing a C++ version of the Unix command-line utility wc, I make the class structure more complicated to keep separate concerns and functionality in different C++ classes. The result ends up being significantly more complex than the original, but does not make the overall program easier to understand or modify.

















