Click here to Skip to main content
15,890,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Closing my C++ program when a specific window is closed Pin
David Crow2-Apr-09 3:04
David Crow2-Apr-09 3:04 
GeneralRe: Closing my C++ program when a specific window is closed Pin
krrilee2-Apr-09 3:17
krrilee2-Apr-09 3:17 
GeneralRe: Closing my C++ program when a specific window is closed Pin
Jörgen Sigvardsson2-Apr-09 3:45
Jörgen Sigvardsson2-Apr-09 3:45 
GeneralRe: Closing my C++ program when a specific window is closed Pin
krrilee2-Apr-09 4:14
krrilee2-Apr-09 4:14 
GeneralRe: Closing my C++ program when a specific window is closed Pin
krrilee2-Apr-09 4:22
krrilee2-Apr-09 4:22 
AnswerRe: Closing my C++ program when a specific window is closed Pin
kapardhi2-Apr-09 3:15
kapardhi2-Apr-09 3:15 
AnswerRe: Closing my C++ program when a specific window is closed Pin
Rajesh R Subramanian2-Apr-09 4:20
professionalRajesh R Subramanian2-Apr-09 4:20 
QuestionFind Unique Combination Numbers from a pool list (combinations and permutations) Pin
sdancer752-Apr-09 2:28
sdancer752-Apr-09 2:28 
Hi,

I want from a list let's say A={1,2,3,4} with N elements, 4 in our case , to find the unique combinations for groups of K, where K=2,3...N

For example if N=4 and K=2 then the correct algorithm should output the following results

(1,2)
(1,3)
(1,4)
(2,3)
(2,4)
(3,4)

if N=4 and K=3 then it should output

(1,2,3)
(1,2,4)
(1,3,4)
(2,3,4)

and if N=4 and K=4 then

(1,2,3,4)

Can someone help me to do this without using STL Library ?

Regards

sdancer75

QuestionRe: Find Unique Combination Numbers from a pool list (combinations and permutations) Pin
CPallini2-Apr-09 2:34
mveCPallini2-Apr-09 2:34 
AnswerRe: Find Unique Combination Numbers from a pool list (combinations and permutations) Pin
sdancer752-Apr-09 2:40
sdancer752-Apr-09 2:40 
GeneralRe: Find Unique Combination Numbers from a pool list (combinations and permutations) Pin
CPallini2-Apr-09 2:53
mveCPallini2-Apr-09 2:53 
GeneralRe: Find Unique Combination Numbers from a pool list (combinations and permutations) Pin
sdancer752-Apr-09 20:37
sdancer752-Apr-09 20:37 
GeneralRe: Find Unique Combination Numbers from a pool list (combinations and permutations) Pin
CPallini3-Apr-09 2:38
mveCPallini3-Apr-09 2:38 
AnswerRe: Find Unique Combination Numbers from a pool list (combinations and permutations) Pin
Stuart Dootson2-Apr-09 3:50
professionalStuart Dootson2-Apr-09 3:50 
JokeRe: Find Unique Combination Numbers from a pool list (combinations and permutations) Pin
CPallini2-Apr-09 7:30
mveCPallini2-Apr-09 7:30 
GeneralRe: Find Unique Combination Numbers from a pool list (combinations and permutations) Pin
sdancer752-Apr-09 20:21
sdancer752-Apr-09 20:21 
QuestionVC++ 6.0 CALLBACK FUNCTION (CALLBACK EXPORT) Pin
shiv@nand2-Apr-09 1:24
shiv@nand2-Apr-09 1:24 
AnswerRe: VC++ 6.0 CALLBACK FUNCTION (CALLBACK EXPORT) Pin
CPallini2-Apr-09 1:58
mveCPallini2-Apr-09 1:58 
GeneralRe: VC++ 6.0 CALLBACK FUNCTION (CALLBACK EXPORT) Pin
Iain Clarke, Warrior Programmer2-Apr-09 5:26
Iain Clarke, Warrior Programmer2-Apr-09 5:26 
GeneralRe: VC++ 6.0 CALLBACK FUNCTION (CALLBACK EXPORT) Pin
CPallini2-Apr-09 7:50
mveCPallini2-Apr-09 7:50 
AnswerRe: VC++ 6.0 CALLBACK FUNCTION (CALLBACK EXPORT) Pin
David Crow2-Apr-09 3:09
David Crow2-Apr-09 3:09 
Question[Message Deleted] Pin
T.RATHA KRISHNAN2-Apr-09 0:57
T.RATHA KRISHNAN2-Apr-09 0:57 
QuestionRe: C3861 Pin
CPallini2-Apr-09 1:48
mveCPallini2-Apr-09 1:48 
AnswerRe: C3861 Pin
T.RATHA KRISHNAN2-Apr-09 2:01
T.RATHA KRISHNAN2-Apr-09 2:01 
QuestionRe: C3861 Pin
CPallini2-Apr-09 2:25
mveCPallini2-Apr-09 2:25 

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.