> Yes, that's usually how it goes, each header/source is like a "class". And usually, what you have is a "main" struct that represents the "class" itself. In this case that main struct can't have both private and public fields.
You can, in a defined way (i.e., no invoking of UB). I just didn't put that in.