#include "scolor.hpp" #include std::string to_string(std::string s){ return s; } #include "rbtree.h" int main(){ Tree tt; std::string message = "There was a tree that grew out of a stump. It turned red and black, and balanced itself"; for(int i = 0; i < 30; ++i){ tt.insert(message.substr(i*2, 5)); tt.print_inorder(); } tt.make_image("stringtree"); tt.print_inorder(); return 0; }