I'm puzzled by what it is you're trying to achieve, but either straight C and explicit accesses, or a C++ class and some operator overloads would seem to me to be useful starting points for reading.
I'm puzzled by what it is you're trying to achieve, but either straight C and explicit accesses, or a C++ class and some operator overloads would seem to me to be useful starting points for reading.