Well, what problems are you trying to solve by having the classes all access each other’s data members? Why is that necessary?
Well, what problems are you trying to solve by having the classes all access each other’s data members? Why is that necessary?
If you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch