+ 7
What is dynamic nested for loop
Dynamic in a sense means that if i will enter 3 then the program will work as if 3 nested for loops are created ... And if i entered 4 then 4 nested loops
4 odpowiedzi
+ 4
I hava seen it on various other sites where recursion is used it the while(status ) loop and status is a boolean variable and it becomes false when the work similar to n nested loops is over but i was not able to understand it completely.
thanks for the reply...
+ 4
One solution this i found is backtracking .....
Is there any other alternative
+ 1
As far as I know, there is no such option in C++
But you're welcome to hack your way in!