Click here to Skip to main content
15,886,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AfxBeginThread Pin
David Crow3-Apr-06 7:51
David Crow3-Apr-06 7:51 
GeneralRe: AfxBeginThread Pin
viperlogic3-Apr-06 8:22
viperlogic3-Apr-06 8:22 
QuestionRe: AfxBeginThread Pin
David Crow3-Apr-06 8:31
David Crow3-Apr-06 8:31 
AnswerRe: AfxBeginThread Pin
viperlogic3-Apr-06 8:58
viperlogic3-Apr-06 8:58 
GeneralRe: AfxBeginThread Pin
David Crow3-Apr-06 9:09
David Crow3-Apr-06 9:09 
GeneralRe: AfxBeginThread Pin
viperlogic3-Apr-06 9:33
viperlogic3-Apr-06 9:33 
QuestionGarbled output using cerr in piped programs Pin
Stian Andre Olsen3-Apr-06 5:56
Stian Andre Olsen3-Apr-06 5:56 
QuestionSTL next_permutation Pin
thepersonof3-Apr-06 5:11
thepersonof3-Apr-06 5:11 
Hi I've the following code to generate permutations of my vector v:
<br />
		while (next_permutation(v.begin(), v.end() ) ) { <br />
                    // Loop until all permutations are generated.<br />
		copy(v.begin(), v.end(), ostream_iterator<int>(cout, ""));


How can I make it output to a vector instead?
I know I need to change to ostream_iterator, but what to?

cheers

-- modified at 11:14 Monday 3rd April, 2006
AnswerRe: STL next_permutation Pin
Taka Muraoka3-Apr-06 5:23
Taka Muraoka3-Apr-06 5:23 
QuestionInitThunk Pin
HakunaMatada3-Apr-06 3:14
HakunaMatada3-Apr-06 3:14 
QuestionHot toconnect databases to dialog based project Pin
swapna_signsin3-Apr-06 3:00
swapna_signsin3-Apr-06 3:00 
AnswerRe: Hot toconnect databases to dialog based project Pin
Waldermort3-Apr-06 3:05
Waldermort3-Apr-06 3:05 
GeneralRe: Hot toconnect databases to dialog based project Pin
swapna_signsin3-Apr-06 4:05
swapna_signsin3-Apr-06 4:05 
AnswerRe: Hot toconnect databases to dialog based project Pin
thatsme_cool3-Apr-06 3:07
thatsme_cool3-Apr-06 3:07 
AnswerRe: Hot toconnect databases to dialog based project Pin
David Crow3-Apr-06 3:56
David Crow3-Apr-06 3:56 
GeneralRe: How toconnect databases to dialog based project Pin
swapna_signsin3-Apr-06 4:17
swapna_signsin3-Apr-06 4:17 
GeneralRe: How toconnect databases to dialog based project Pin
David Crow3-Apr-06 4:39
David Crow3-Apr-06 4:39 
GeneralHow do u connect to DSN Pin
swapna_signsin3-Apr-06 4:34
swapna_signsin3-Apr-06 4:34 
GeneralRe: How do u connect to DSN Pin
David Crow3-Apr-06 4:45
David Crow3-Apr-06 4:45 
GeneralRe: How do u connect to DSN Pin
swapna_signsin3-Apr-06 5:24
swapna_signsin3-Apr-06 5:24 
GeneralRe: How do u connect to DSN Pin
David Crow3-Apr-06 5:28
David Crow3-Apr-06 5:28 
GeneralRe: How do u connect to DSN Pin
swapna_signsin3-Apr-06 5:54
swapna_signsin3-Apr-06 5:54 
QuestionPostNcDestroy() question Pin
ns3-Apr-06 2:57
ns3-Apr-06 2:57 
AnswerRe: PostNcDestroy() question Pin
David Crow3-Apr-06 3:54
David Crow3-Apr-06 3:54 
GeneralRe: PostNcDestroy() question Pin
ns3-Apr-06 4:00
ns3-Apr-06 4:00 

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.