Click here to Skip to main content
15,921,694 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
PunkIsNotDead29-Apr-10 17:18
PunkIsNotDead29-Apr-10 17:18 
GeneralRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
AspDotNetDev29-Apr-10 17:25
protectorAspDotNetDev29-Apr-10 17:25 
AnswerRe: Is it Possible to download a pdf file from a web page without showing the URL of pdf file in address bar Pin
PunkIsNotDead29-Apr-10 17:35
PunkIsNotDead29-Apr-10 17:35 
QuestionClearing an array of images Pin
Wamuti28-Apr-10 22:23
Wamuti28-Apr-10 22:23 
AnswerRe: Clearing an array of images Pin
Mycroft Holmes28-Apr-10 23:37
professionalMycroft Holmes28-Apr-10 23:37 
AnswerRe: Clearing an array of images Pin
Luc Pattyn29-Apr-10 1:07
sitebuilderLuc Pattyn29-Apr-10 1:07 
AnswerRe: Clearing an array of images Pin
AspDotNetDev29-Apr-10 11:54
protectorAspDotNetDev29-Apr-10 11:54 
QuestionEvery possible group of items in an array/set/... [SOLVED] Pin
Bart Van Eyndhoven28-Apr-10 21:59
Bart Van Eyndhoven28-Apr-10 21:59 
Two days in row, two different questions (yesterday's problem is solved by the way Smile | :) )

This is another one where I need some creative ideas...

I need to find all groups of items in an array. In this case same items in a different order means same group. The array/set/... is prepared by some methods that are executed earlier. This means I could start with 1 item, but with 250 items as well.

Let's suppose the generated array/set/... contains 5 items A, B, C, D and E. The groups I should get as result are the following:
A - B - C - D - E
AB - AC - AD - AE - BC - BD - BE - CD - CE - DE
ABC - ABD - ABE - ACD - ACE - ADE - BCD - BCE - BDE - CDE
ABCD - ABCE - ABDE - ACDE - BCDE
ABCDE

I don't need to reuse the combinations afterward. I just need the algorithm to perform a check routine on each group (and it occurs on only one place in my program). A little like "loop { check(group) }"

Thanks in advance for your ideas!

modified on Friday, April 30, 2010 4:21 AM

GeneralRe: Every possible group of items in an array/set/... Pin
harold aptroot28-Apr-10 22:09
harold aptroot28-Apr-10 22:09 
GeneralRe: Every possible group of items in an array/set/... Pin
Bart Van Eyndhoven28-Apr-10 22:59
Bart Van Eyndhoven28-Apr-10 22:59 
GeneralRe: Every possible group of items in an array/set/... Pin
Alan Balkany29-Apr-10 4:00
Alan Balkany29-Apr-10 4:00 
AnswerRe: Every possible group of items in an array/set/... Pin
PIEBALDconsult29-Apr-10 3:45
mvePIEBALDconsult29-Apr-10 3:45 
GeneralRe: Every possible group of items in an array/set/... Pin
Bart Van Eyndhoven29-Apr-10 22:21
Bart Van Eyndhoven29-Apr-10 22:21 
GeneralRe: Every possible group of items in an array/set/... Pin
harold aptroot29-Apr-10 6:01
harold aptroot29-Apr-10 6:01 
AnswerRe: Every possible group of items in an array/set/... Pin
Kythen29-Apr-10 6:44
Kythen29-Apr-10 6:44 
QuestionExcel Interop Pin
nuonxxx28-Apr-10 21:27
nuonxxx28-Apr-10 21:27 
Questiondelegates and events in c# Pin
jitendra sandu28-Apr-10 21:09
jitendra sandu28-Apr-10 21:09 
AnswerRe: delegates and events in c# Pin
Rajesh Anuhya28-Apr-10 21:15
professionalRajesh Anuhya28-Apr-10 21:15 
AnswerRe: delegates and events in c# Pin
nagendrathecoder28-Apr-10 21:18
nagendrathecoder28-Apr-10 21:18 
AnswerRe: delegates and events in c# Pin
Md. Marufuzzaman28-Apr-10 21:27
professionalMd. Marufuzzaman28-Apr-10 21:27 
Questionwhere is the site that i can download msdn for visual 2005? Pin
buffering8328-Apr-10 19:39
buffering8328-Apr-10 19:39 
AnswerRepost Pin
DaveyM6928-Apr-10 20:30
professionalDaveyM6928-Apr-10 20:30 
AnswerRe: where is the site that i can download msdn for visual 2005? Pin
Rajesh Anuhya28-Apr-10 21:12
professionalRajesh Anuhya28-Apr-10 21:12 
QuestionHow to Remove Sharing Permission of a Folder through c# Pin
himuskanhere28-Apr-10 18:37
himuskanhere28-Apr-10 18:37 
AnswerRe: How to Remove Sharing Permission of a Folder through c# Pin
Md. Marufuzzaman28-Apr-10 21:37
professionalMd. Marufuzzaman28-Apr-10 21:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.