Click here to Skip to main content
15,900,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How To Get know if Directory Exists? Pin
Blake Miller10-Feb-05 4:18
Blake Miller10-Feb-05 4:18 
AnswerRe: How To Get know if Directory Exists? Pin
Ravi Bhavnani10-Feb-05 6:44
professionalRavi Bhavnani10-Feb-05 6:44 
AnswerRe: How To Get know if Directory Exists? Pin
Michael Dunn10-Feb-05 10:16
sitebuilderMichael Dunn10-Feb-05 10:16 
GeneralHelp in adding a new display mode!!!Crazy Pin
uday__m9-Feb-05 23:15
uday__m9-Feb-05 23:15 
Questionhow to pack bitmaps in a dll Pin
Anonymous9-Feb-05 23:02
Anonymous9-Feb-05 23:02 
AnswerRe: how to pack bitmaps in a dll Pin
2249179-Feb-05 23:07
2249179-Feb-05 23:07 
GeneralUDP message reply Pin
Anonymous9-Feb-05 22:58
Anonymous9-Feb-05 22:58 
Generalsorting elements in double pointer Pin
tttyip9-Feb-05 20:35
tttyip9-Feb-05 20:35 
I want to sort elements pointed by a double pointer and update the index of elements accordingly.
For example, I have elements pointed by the double pointer:
double ptr;
ptr[0] = -8;
ptr[1] = -9;
ptr[2] = 5.6;
ptr[3] = 3.4;
ptr[4] = 0;

I want to sort these elements and return the updated index:
ptr[0] = -9;
ptr[1] = -8;
ptr[2] = 0;
ptr[3] = 3.4;
ptr[4] = 5.6;

index[0] = 1
index[1] = 0
index[2] = 4
index[3] = 3
index[4] = 2


What library can I use?
Can I use qsort() to do this?

Thanks

GeneralRe: sorting elements in double pointer Pin
David Crow10-Feb-05 9:26
David Crow10-Feb-05 9:26 
GeneralRe: sorting elements in double pointer Pin
tttyip22-Feb-05 2:32
tttyip22-Feb-05 2:32 
GeneralRe: sorting elements in double pointer Pin
David Crow22-Feb-05 3:36
David Crow22-Feb-05 3:36 
GeneralVisual Studio .Net hangs system during debugging. Pin
Brian van der Beek9-Feb-05 20:03
Brian van der Beek9-Feb-05 20:03 
GeneralRe: Visual Studio .Net hangs system during debugging. Pin
2249179-Feb-05 21:34
2249179-Feb-05 21:34 
GeneralRe: Visual Studio .Net hangs system during debugging. Pin
Joel Lucsy13-Feb-05 14:29
Joel Lucsy13-Feb-05 14:29 
GeneralShellExecute, it is not working Pin
Aqueel9-Feb-05 19:17
Aqueel9-Feb-05 19:17 
GeneralRe: ShellExecute, it is not working Pin
Blake Miller10-Feb-05 4:46
Blake Miller10-Feb-05 4:46 
GeneralRe: ShellExecute, it is not working Pin
Aqueel10-Feb-05 16:31
Aqueel10-Feb-05 16:31 
GeneralRe: ShellExecute, it is not working Pin
Yulianto.10-Feb-05 16:48
Yulianto.10-Feb-05 16:48 
GeneralRe: ShellExecute, it is not working Pin
Blake Miller11-Feb-05 4:10
Blake Miller11-Feb-05 4:10 
QuestionHow to draw line control in .net design time using 2 points ? Pin
Surya Prakash Adari9-Feb-05 19:14
Surya Prakash Adari9-Feb-05 19:14 
GeneralHalf Heart- an MMORPG Pin
RageForInsanity9-Feb-05 19:12
RageForInsanity9-Feb-05 19:12 
GeneralRe: Half Heart- an MMORPG Pin
namaskaaram9-Feb-05 19:40
namaskaaram9-Feb-05 19:40 
GeneralRe: Half Heart- an MMORPG Pin
RageForInsanity9-Feb-05 21:09
RageForInsanity9-Feb-05 21:09 
GeneralRe: Half Heart- an MMORPG Pin
RageForInsanity9-Feb-05 21:11
RageForInsanity9-Feb-05 21:11 
GeneralRe: Half Heart- an MMORPG Pin
namaskaaram9-Feb-05 21:27
namaskaaram9-Feb-05 21:27 

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.