Click here to Skip to main content
15,888,113 members
Articles / Programming Languages / VC++

Generating dynamically nested loops

Rate me:
Please Sign up or sign in to vote.
4.62/5 (8 votes)
15 Apr 2014CPOL2 min read 38.9K   10  
One example of the need to have a set of nested loops in is combinotronics where you are trying to generate all possible combinations. If we want to have a variable number of elements generated then we need to look at having dynamically nested loops.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
New Zealand New Zealand
NATKIT loves programming and currently working with C/C++. He is interested in working on designing and implementing various algorithms. He is looking into the development of algorithms that leverage on the parallel hardware that is readily available such as Mutli Core Processors, GP-GPU and Distributed Parallelism using MPI

Comments and Discussions