struct node { struct node* parent; int number_of_sons; struct node* sons; int data_int; // char[64] data_str; // void* data_ptr; }
int insert_tree(int data) { }
struct node* search_tree(int data) { }
code
std::vector
std::lower_bound
#include <map> class tree_1 { public: tree_1() { data = NULL; } protected: std::map<size_t,tree_1*> next_level_map; void *data; }; </map>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)