Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FreeLibrary takes much time(45 sec) to free a Win32 dll Pin
gbabu1720-Jul-06 22:18
gbabu1720-Jul-06 22:18 
GeneralRe: FreeLibrary takes much time(45 sec) to free a Win32 dll Pin
ThatsAlok21-Jul-06 0:40
ThatsAlok21-Jul-06 0:40 
GeneralRe: FreeLibrary takes much time(45 sec) to free a Win32 dll Pin
gbabu1721-Jul-06 0:49
gbabu1721-Jul-06 0:49 
GeneralRe: FreeLibrary takes much time(45 sec) to free a Win32 dll Pin
ThatsAlok21-Jul-06 1:27
ThatsAlok21-Jul-06 1:27 
Questionto anyone who knows... Pin
not insane yet!20-Jul-06 21:28
not insane yet!20-Jul-06 21:28 
AnswerRe: to anyone who knows... Pin
Christian Graus20-Jul-06 21:35
protectorChristian Graus20-Jul-06 21:35 
AnswerRe: to anyone who knows... Pin
ThatsAlok20-Jul-06 22:09
ThatsAlok20-Jul-06 22:09 
AnswerRe: to anyone who knows... Pin
Stephen Hewitt20-Jul-06 23:20
Stephen Hewitt20-Jul-06 23:20 
Try this:
---------

#include <algorithm>
#include <iostream>
#include <iterator>

void Merge(const int (&a)[5], const int (&b)[5], int (&ab)[10])
{
std::merge(a, a+5, b, b+5, ab);
}

int main(int argc, char* argv[])
{
int a[] = {1, 3, 5, 7, 9};
int b[] = {2, 4, 6, 8, 9};
int c[10];

Merge(a, b, c);

std::copy(c, c+10, std::ostream_iterator<int>(std::cout, " "));
std::cout << std::endl;

return 0;
}


Steve
AnswerRe: to anyone who knows... Pin
Stephen Hewitt21-Jul-06 20:30
Stephen Hewitt21-Jul-06 20:30 
QuestionHalt, Break, Pause Pin
tanarnelinistit20-Jul-06 21:27
tanarnelinistit20-Jul-06 21:27 
AnswerRe: Halt, Break, Pause Pin
Christian Graus20-Jul-06 21:37
protectorChristian Graus20-Jul-06 21:37 
GeneralRe: Halt, Break, Pause Pin
tanarnelinistit20-Jul-06 21:45
tanarnelinistit20-Jul-06 21:45 
GeneralRe: Halt, Break, Pause Pin
ThatsAlok20-Jul-06 22:08
ThatsAlok20-Jul-06 22:08 
GeneralRe: Halt, Break, Pause Pin
Christian Graus20-Jul-06 22:14
protectorChristian Graus20-Jul-06 22:14 
AnswerRe: Halt, Break, Pause Pin
NiceNaidu20-Jul-06 22:50
NiceNaidu20-Jul-06 22:50 
GeneralRe: Halt, Break, Pause Pin
tanarnelinistit21-Jul-06 0:22
tanarnelinistit21-Jul-06 0:22 
GeneralRe: Halt, Break, Pause [modified] Pin
Rilhas21-Jul-06 12:09
Rilhas21-Jul-06 12:09 
Questionmulti-threading shared resource access control issue in MDI program Pin
SAMZC20-Jul-06 21:18
SAMZC20-Jul-06 21:18 
AnswerRe: multi-threading shared resource access control issue in MDI program Pin
Steve S20-Jul-06 22:09
Steve S20-Jul-06 22:09 
QuestionMessagebox probs Pin
Ram Murali20-Jul-06 21:06
Ram Murali20-Jul-06 21:06 
AnswerRe: Messagebox probs Pin
ThatsAlok20-Jul-06 21:28
ThatsAlok20-Jul-06 21:28 
GeneralRe: Messagebox probs [modified] Pin
Ram Murali20-Jul-06 21:31
Ram Murali20-Jul-06 21:31 
GeneralRe: Messagebox probs Pin
ThatsAlok20-Jul-06 22:03
ThatsAlok20-Jul-06 22:03 
AnswerRe: Messagebox probs Pin
NiceNaidu20-Jul-06 21:32
NiceNaidu20-Jul-06 21:32 
QuestionChar to string Pin
tanarnelinistit20-Jul-06 20:37
tanarnelinistit20-Jul-06 20: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.