Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How can I loop over N objects using 3 objects each iteration
bacetti abdelmoumen
Mar 8 2016 12:53 PM
518
Reply
Hello
Let's suppose I have 4 objects, and I want loop over these objects using a function involving 3 objects in each call as follows:
MyFunction(object1, object2 , object3);
MyFunction(object1, object2 , object4);
...
MyFunction(object2, object1 , object3);
MyFunction(object2, object1 , object4);
...
MyFunction(object4, object2 , object1);
MyFunction(object4, object2 , object3) ;
What is the general algorithm for this ?
Thanks at advance
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Encrypt in java and decrypt in c#
SQL Database Recovery