I suppose you all know what is circular dependency in headers. The result of it usually are like the following:
error: 'MyClass' was not declared in this scope
If the program is short it is clear what to do. But if the program has tens of files...
My question is "Is there some algorithm to find the circular dependency?" I mean some certain steps, which bring you to success, not just "look into the code until you found it".
May be some program, which do it?