CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003
    Location
    Chennai, India
    Posts
    76

    Function to find list of all possible combinations

    Hi,
    Is there any function in vc++ to find the list of all possible combiantion of array.
    for example for the following array {1,2,3}

    i want to derive all possible combinations like
    (1),(2),(3),(1,2),(1,3),(2,3),(1,2,3)

    Thanks in Advace,
    Varadha

  2. #2
    Join Date
    Jul 2002
    Location
    Princeton, NewJersey, US
    Posts
    817
    I think...You need to design your own logic..
    GOOD DAY..!

    NICK.

    E-MAIL : [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured