I\'m new to C/C++ and I\'ve been cracking my head but still got no idea how to make an \"structure\" like this
Comprehensive answers.
If you are really writing this in C++ (not rough C) I think you should take another look at this complicated data structure. IMO redesign while keeping in mind what you are trying to do would be better.