hopefully after a long wait jetbrains has announced new C/C++ IDE called Clion with all needed features needed from any programmer, every one should have a try. Clion
i have tried all what i have to solve this problem, just need a hint or an algorithm to study and solve, not a code. please just a hint.