Click here to Skip to main content
14,975,705 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ class pointers Pin
Tim Craig11-Apr-10 17:32
MemberTim Craig11-Apr-10 17:32 
GeneralRe: C++ class pointers Pin
rupeshkp72811-Apr-10 19:30
Memberrupeshkp72811-Apr-10 19:30 
GeneralRe: C++ class pointers Pin
peterchen12-Apr-10 20:33
Memberpeterchen12-Apr-10 20:33 
GeneralRe: C++ class pointers Pin
Tim Craig12-Apr-10 21:00
MemberTim Craig12-Apr-10 21:00 
AnswerRe: C++ class pointers Pin
Emilio Garavaglia11-Apr-10 20:58
MemberEmilio Garavaglia11-Apr-10 20:58 
QuestionC++Linking Classes/.cpp files to run one after other? Pin
FinalDecap11-Apr-10 5:59
MemberFinalDecap11-Apr-10 5:59 
AnswerRe: C++Linking Classes/.cpp files to run one after other? Pin
Cedric Moonen11-Apr-10 20:57
MemberCedric Moonen11-Apr-10 20:57 
QuestionArray indexes Pin
Farraj10-Apr-10 23:46
MemberFarraj10-Apr-10 23:46 
i need help with writing a c code

lets say i have an array[5]
i need to make a new array that gets the indexes of the array[5] from the maximum number to the minimum one.

example
{2,5,1,8,4}
my new array of indexes will be (counting from ZERO)
{3,1,4,0,2}


i though of sorting it and save the indexes in a temporary array or something but it didnt work
any ideas how can i solve this ?
AnswerRe: Array indexes Pin
Nelek11-Apr-10 0:26
protectorNelek11-Apr-10 0:26 
AnswerRe: Array indexes Pin
Saurabh.Garg11-Apr-10 2:01
MemberSaurabh.Garg11-Apr-10 2:01 
AnswerRe: Array indexes Pin
Luc Pattyn11-Apr-10 2:15
sitebuilderLuc Pattyn11-Apr-10 2:15 
AnswerRe: Array indexes Pin
Farraj11-Apr-10 3:04
MemberFarraj11-Apr-10 3:04 
GeneralRe: Array indexes Pin
Luc Pattyn11-Apr-10 3:30
sitebuilderLuc Pattyn11-Apr-10 3:30 
GeneralRe: Array indexes Pin
Farraj11-Apr-10 11:27
MemberFarraj11-Apr-10 11:27 
GeneralRe: Array indexes Pin
Luc Pattyn11-Apr-10 11:47
sitebuilderLuc Pattyn11-Apr-10 11:47 
GeneralRe: Array indexes Pin
Farraj14-Apr-10 8:30
MemberFarraj14-Apr-10 8:30 
GeneralRe: Array indexes Pin
Farraj14-Apr-10 8:34
MemberFarraj14-Apr-10 8:34 
GeneralRe: Array indexes Pin
Luc Pattyn14-Apr-10 8:34
sitebuilderLuc Pattyn14-Apr-10 8:34 
GeneralRe: Array indexes Pin
Farraj14-Apr-10 8:35
MemberFarraj14-Apr-10 8:35 
AnswerRe: Array indexes Pin
Chris Losinger11-Apr-10 5:07
professionalChris Losinger11-Apr-10 5:07 
QuestionHow to fully custom draw combobox control, edit, arrow button and listbox included? Pin
kcynic10-Apr-10 23:16
Memberkcynic10-Apr-10 23:16 
AnswerRe: How to fully custom draw combobox control, edit, arrow button and listbox included? Pin
Code-o-mat11-Apr-10 1:07
MemberCode-o-mat11-Apr-10 1:07 
GeneralRe: How to fully custom draw combobox control, edit, arrow button and listbox included? Pin
kcynic11-Apr-10 4:41
Memberkcynic11-Apr-10 4:41 
GeneralRe: How to fully custom draw combobox control, edit, arrow button and listbox included? Pin
Code-o-mat11-Apr-10 6:20
MemberCode-o-mat11-Apr-10 6:20 
GeneralRe: How to fully custom draw combobox control, edit, arrow button and listbox included? Pin
kcynic11-Apr-10 14:31
Memberkcynic11-Apr-10 14:31 

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.