I am writing a basic search engine in C++. I have read many pages on forward declarations and circular dependencies but still can\'t wrap my head around how to solve it for