Click here to Skip to main content
15,908,626 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #pragma pack(1) packing wrong structure sizes ! ! ! Pin
Alan Chambers21-Jan-05 23:59
Alan Chambers21-Jan-05 23:59 
GeneralRe: #pragma pack(1) packing wrong structure sizes ! ! ! Pin
Alan Chambers28-Jan-05 11:05
Alan Chambers28-Jan-05 11:05 
QuestionHow to use shared-memory to map uncertain page file Pin
shusong21-Jan-05 14:06
shusong21-Jan-05 14:06 
AnswerRe: How to use shared-memory to map uncertain page file Pin
Bob Ciora21-Jan-05 19:47
Bob Ciora21-Jan-05 19:47 
QuestionHow to draw a ListView frame Pin
Björn Eiríksson21-Jan-05 13:25
sussBjörn Eiríksson21-Jan-05 13:25 
QuestionHow to perform qsort on a CList of class objects? Pin
wsquare21-Jan-05 12:51
wsquare21-Jan-05 12:51 
AnswerRe: How to perform qsort on a CList of class objects? Pin
wsquare21-Jan-05 12:56
wsquare21-Jan-05 12:56 
AnswerRe: How to perform qsort on a CList of class objects? Pin
Anonymous21-Jan-05 13:31
Anonymous21-Jan-05 13:31 
You need to provide a function for qsort to use that will compare the required fields of the objects that you want to sort by, ie, if you want to sort by num1 then the compare function would be comparing those fields and returning the result

HTH

btw the CList will be storing pointers to your objects so the compare function will be receiving 2 pointers in


AnswerRe: How to perform qsort on a CList of class objects? Pin
Bob Ciora21-Jan-05 18:48
Bob Ciora21-Jan-05 18:48 
GeneralRe: How to perform qsort on a CList of class objects? Pin
wsquare21-Jan-05 19:58
wsquare21-Jan-05 19:58 
GeneralRe: How to perform qsort on a CList of class objects? Pin
markkuk22-Jan-05 0:03
markkuk22-Jan-05 0:03 
GeneralRe: How to perform qsort on a CList of class objects? Pin
Bob Ciora22-Jan-05 3:25
Bob Ciora22-Jan-05 3:25 
GeneralRe: How to perform qsort on a CList of class objects? Pin
markkuk23-Jan-05 4:31
markkuk23-Jan-05 4:31 
GeneralRe: How to perform qsort on a CList of class objects? Pin
Bob Ciora22-Jan-05 4:22
Bob Ciora22-Jan-05 4:22 
QuestionHow do I assign char array address to int? Pin
ErikDabrowsky21-Jan-05 10:26
ErikDabrowsky21-Jan-05 10:26 
AnswerRe: How do I assign char array address to int? Pin
Michael Dunn21-Jan-05 11:00
sitebuilderMichael Dunn21-Jan-05 11:00 
GeneralRe: How do I assign char array address to int? Pin
ErikDabrowsky21-Jan-05 11:29
ErikDabrowsky21-Jan-05 11:29 
AnswerRe: How do I assign char array address to int? Pin
markkuk22-Jan-05 0:19
markkuk22-Jan-05 0:19 
GeneralMFC app. + Ms-Dos commands Pin
holy shit21-Jan-05 9:12
holy shit21-Jan-05 9:12 
GeneralRe: MFC app. + Ms-Dos commands Pin
Chris Losinger21-Jan-05 9:19
professionalChris Losinger21-Jan-05 9:19 
GeneralRe: MFC app. + Ms-Dos commands Pin
holy shit21-Jan-05 9:28
holy shit21-Jan-05 9:28 
GeneralRe: MFC app. + Ms-Dos commands Pin
Shog921-Jan-05 9:32
sitebuilderShog921-Jan-05 9:32 
GeneralRe: MFC app. + Ms-Dos commands Pin
Chris Losinger21-Jan-05 9:34
professionalChris Losinger21-Jan-05 9:34 
GeneralRe: MFC app. + Ms-Dos commands Pin
Michael Dunn21-Jan-05 11:01
sitebuilderMichael Dunn21-Jan-05 11:01 
GeneralRe: MFC app. + Ms-Dos commands Pin
Shog921-Jan-05 11:21
sitebuilderShog921-Jan-05 11:21 

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.