SyntaxFix
Write A Post
Hire A Developer
Questions
You can use boost graph library and cyclic dependencies. It has the solution for finding cycles with back_edge function.
back_edge