Click here to Skip to main content
15,887,928 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What does this syntax mean in c++ ? Pin
Richard MacCutchan4-Oct-09 6:16
mveRichard MacCutchan4-Oct-09 6:16 
GeneralRe: What does this syntax mean in c++ ? Pin
holyinferno4-Oct-09 6:18
holyinferno4-Oct-09 6:18 
GeneralRe: What does this syntax mean in c++ ? Pin
CPallini4-Oct-09 6:22
mveCPallini4-Oct-09 6:22 
GeneralRe: What does this syntax mean in c++ ? Pin
holyinferno4-Oct-09 6:26
holyinferno4-Oct-09 6:26 
AnswerRe: What does this syntax mean in c++ ? Pin
David Crow5-Oct-09 4:48
David Crow5-Oct-09 4:48 
QuestionGood code, wrong result Pin
Waldemar Ork4-Oct-09 4:56
Waldemar Ork4-Oct-09 4:56 
AnswerRe: Good code, wrong result Pin
Luc Pattyn4-Oct-09 5:25
sitebuilderLuc Pattyn4-Oct-09 5:25 
AnswerRe: Good code, wrong result Pin
Richard MacCutchan4-Oct-09 5:44
mveRichard MacCutchan4-Oct-09 5:44 
Waldemar Ork wrote:
The whole code works fine, but in fact doesn't give a right result.


In software (or anywhere else) that statement cannot be true.

Also your code is badly formatted, try using the <pre></pre> tags or the "code block" button to display it like this
while(cb.GetNextComb(combination))
   {
   }


In the extract you posted the function GetNextComb() is not shown, but does not appear to return a value; what do you expect from that call?
GeneralRe: Good code, wrong result Pin
Luc Pattyn4-Oct-09 6:08
sitebuilderLuc Pattyn4-Oct-09 6:08 
GeneralRe: Good code, wrong result Pin
Waldemar Ork4-Oct-09 7:40
Waldemar Ork4-Oct-09 7:40 
GeneralRe: Good code, wrong result Pin
Luc Pattyn4-Oct-09 8:39
sitebuilderLuc Pattyn4-Oct-09 8:39 
AnswerRe: Good code, wrong result Pin
David Crow5-Oct-09 4:56
David Crow5-Oct-09 4:56 
GeneralRe: Good code, wrong result Pin
Waldemar Ork5-Oct-09 23:29
Waldemar Ork5-Oct-09 23:29 
QuestionC++ Helper Wanted Pin
MrMcIntyre4-Oct-09 3:48
MrMcIntyre4-Oct-09 3:48 
QuestionRe: C++ Helper Wanted Pin
Maximilien4-Oct-09 4:11
Maximilien4-Oct-09 4:11 
AnswerRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 4:20
MrMcIntyre4-Oct-09 4:20 
GeneralRe: C++ Helper Wanted Pin
Michael Schubert4-Oct-09 4:51
Michael Schubert4-Oct-09 4:51 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 4:54
MrMcIntyre4-Oct-09 4:54 
GeneralRe: C++ Helper Wanted Pin
Michael Schubert4-Oct-09 5:08
Michael Schubert4-Oct-09 5:08 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 5:14
MrMcIntyre4-Oct-09 5:14 
GeneralRe: C++ Helper Wanted Pin
Michael Schubert4-Oct-09 5:19
Michael Schubert4-Oct-09 5:19 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 5:23
MrMcIntyre4-Oct-09 5:23 
GeneralRe: C++ Helper Wanted Pin
Michael Schubert4-Oct-09 5:34
Michael Schubert4-Oct-09 5:34 
GeneralRe: C++ Helper Wanted Pin
MrMcIntyre4-Oct-09 5:39
MrMcIntyre4-Oct-09 5:39 
GeneralRe: C++ Helper Wanted Pin
Maximilien4-Oct-09 5:58
Maximilien4-Oct-09 5:58 

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.