So yea, i do know how many roots these "Trees" have.
So far my idea is to create a struct which holds the roots of the trees.
The thing that confuses me is that each parent has n amount of childs. I guess i could fix this by adding a linked list to each parent and then just adding nodes to it. The other thing that confuses me is that 2nd trees root points to a child in the 1st tree... IF anyone could explain me a simple idea how to implement this without using libs(except for iostream) it would be great. Thanks.