Click here to Skip to main content
15,922,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DIBS and "the bits" Pin
Chris Losinger1-Nov-01 5:21
professionalChris Losinger1-Nov-01 5:21 
GeneralRe: DIBS and "the bits" Pin
Chambers1-Nov-01 5:36
Chambers1-Nov-01 5:36 
GeneralRe: DIBS and "the bits" Pin
Chris Losinger1-Nov-01 5:57
professionalChris Losinger1-Nov-01 5:57 
GeneralRe: DIBS and "the bits" - Chris Please Read Pin
Chambers1-Nov-01 6:12
Chambers1-Nov-01 6:12 
GeneralRe: DIBS and "the bits" - Chris Please Read Pin
Chris Losinger1-Nov-01 6:58
professionalChris Losinger1-Nov-01 6:58 
GeneralRe: DIBS and "the bits" - Solution Pin
Chambers1-Nov-01 7:33
Chambers1-Nov-01 7:33 
GeneralAccelerator Keys Pin
Özgür1-Nov-01 4:51
Özgür1-Nov-01 4:51 
Generalsorting std::vector Pin
User 98851-Nov-01 4:23
User 98851-Nov-01 4:23 
I have a class that has a member variable of type vector<CMyClass >.
I have sort parameters stored in the class that I want to use inside a custom sort function. But, the sort function has to be either global or a static member function. How can I access the class member that defines the sort criteria from the sort function. I cannot pass it as a variable also. The only solution that I could think of was to use a seperate function for each sort type, but this results in too many functions. I have 28 sort criteria in this class.

Thanks in advance for any help

-Thomas

modified 29-Aug-18 21:01pm.

GeneralRe: sorting std::vector Pin
Chris Losinger1-Nov-01 4:29
professionalChris Losinger1-Nov-01 4:29 
GeneralRe: sorting std::vector Pin
User 98851-Nov-01 4:33
User 98851-Nov-01 4:33 
GeneralRe: sorting std::vector Pin
Todd Smith1-Nov-01 5:46
Todd Smith1-Nov-01 5:46 
GeneralRational Rose Pin
1-Nov-01 2:59
suss1-Nov-01 2:59 
GeneralRe: Rational Rose Pin
Fredy21-Feb-02 6:19
Fredy21-Feb-02 6:19 
QuestionGive me advice how to start in OpenGL? Pin
1-Nov-01 2:42
suss1-Nov-01 2:42 
AnswerRe: Give me advice how to start in OpenGL? Pin
Roger Allen1-Nov-01 3:40
Roger Allen1-Nov-01 3:40 
AnswerRe: Give me advice how to start in OpenGL? Pin
Jonathan de Halleux1-Nov-01 5:12
Jonathan de Halleux1-Nov-01 5:12 
AnswerRe: Give me advice how to start in OpenGL? Pin
Carlos Antollini1-Nov-01 5:42
Carlos Antollini1-Nov-01 5:42 
GeneralStackwalk in dbghelp/imagehlp (Advanced, debugging) Pin
EiSl1-Nov-01 2:41
EiSl1-Nov-01 2:41 
Generalvideo conference Pin
yoavadler1-Nov-01 2:32
yoavadler1-Nov-01 2:32 
GeneralRe: video conference Pin
Paul A. Howes1-Nov-01 3:38
Paul A. Howes1-Nov-01 3:38 
GeneralRe: video conference Pin
yoavadler1-Nov-01 4:28
yoavadler1-Nov-01 4:28 
GeneralRe: video conference Pin
Michael P Butler1-Nov-01 11:32
Michael P Butler1-Nov-01 11:32 
GeneralRe: video conference Pin
14-Apr-02 4:55
suss14-Apr-02 4:55 
GeneralMy MSDN(2000.7 Ver) don't run correctly..help me Pin
Ding Bing1-Nov-01 2:26
Ding Bing1-Nov-01 2:26 
GeneralRe: My MSDN(2000.7 Ver) don't run correctly..help me Pin
Nish Nishant1-Nov-01 3:29
sitebuilderNish Nishant1-Nov-01 3:29 

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.