C++ I'm stuck filling this BST with its proper values
问题 I have created a BST full of WordInfo objects that have a vector to point out which of the other WordInfo objects is a synonym or antonym. Each word is identified by an integer on its source file, dictionary.txt. The BST has received so far its list of words, but I have trouble filling in the synonyms. To put it bluntly, I'm pretty confused on how to make my objects interact the way I want them to. Here's where I think is the core of my problem: //--function for getting synonyms in a vector