-
September 24th, 2022, 04:31 PM
#1
creation of simple tree like structure using stl vector c++, need help : )
hello everybody
i would like to create a tree like structure in c++. since the number of children per node is arbitrary i would like to use stl vector for tree creation.
tree should look something like this:
https://i.postimg.cc/8zzT6jvJ/Diagram1.png
also
each node should contain some data, including one stl vector.
at the end i would like to be able to "merge" hierarchically in one large vector - something like this:
K-vector + I-vector + F-vector + B-vector + A-vector
thank you very much for your interest
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|