Click here to Skip to main content
15,905,420 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSort the list of files available in a folder. Pin
lucky_122120-Jun-11 23:02
lucky_122120-Jun-11 23:02 
AnswerRe: Sort the list of files available in a folder. Pin
Cedric Moonen21-Jun-11 0:14
Cedric Moonen21-Jun-11 0:14 
AnswerRe: Sort the list of files available in a folder. Pin
Richard MacCutchan21-Jun-11 2:03
mveRichard MacCutchan21-Jun-11 2:03 
GeneralRe: Sort the list of files available in a folder. Pin
lucky_122121-Jun-11 2:10
lucky_122121-Jun-11 2:10 
GeneralRe: Sort the list of files available in a folder. Pin
Richard MacCutchan21-Jun-11 2:59
mveRichard MacCutchan21-Jun-11 2:59 
AnswerRe: Sort the list of files available in a folder. Pin
వేంకటనారాయణ(venkatmakam)21-Jun-11 3:05
వేంకటనారాయణ(venkatmakam)21-Jun-11 3:05 
QuestionQuestion about Getting Main Icon using Findresource() Pin
lek25820-Jun-11 21:51
lek25820-Jun-11 21:51 
AnswerRe: Question about Getting Main Icon using Findresource() Pin
Richard MacCutchan21-Jun-11 2:01
mveRichard MacCutchan21-Jun-11 2:01 
AnswerRe: Question about Getting Main Icon using Findresource() Pin
MicroVirus21-Jun-11 5:50
MicroVirus21-Jun-11 5:50 
Questionproblem while freeing a link list within a vector structure [modified] Pin
Madan Chauhan20-Jun-11 21:27
Madan Chauhan20-Jun-11 21:27 
AnswerRe: problem while freeing a link list within a vector structure Pin
CPallini20-Jun-11 22:12
mveCPallini20-Jun-11 22:12 
AnswerRe: problem while freeing a link list within a vector structure Pin
Stefan_Lang21-Jun-11 0:35
Stefan_Lang21-Jun-11 0:35 
GeneralRe: problem while freeing a link list within a vector structure Pin
Madan Chauhan21-Jun-11 1:07
Madan Chauhan21-Jun-11 1:07 
GeneralRe: problem while freeing a link list within a vector structure Pin
Stefan_Lang21-Jun-11 1:27
Stefan_Lang21-Jun-11 1:27 
AnswerRe: problem while freeing a link list within a vector structure Pin
CPallini21-Jun-11 1:15
mveCPallini21-Jun-11 1:15 
QuestionRe: problem while freeing a link list within a vector structure Pin
David Crow21-Jun-11 4:04
David Crow21-Jun-11 4:04 
QuestionI am using VC++ coding,Can any one help me? Pin
lucky_122120-Jun-11 21:14
lucky_122120-Jun-11 21:14 
AnswerRe: I am using VC++ coding,Can any one help me? Pin
CPallini20-Jun-11 22:10
mveCPallini20-Jun-11 22:10 
AnswerRe: I am using VC++ coding,Can any one help me? Pin
Cool_Dev20-Jun-11 22:18
Cool_Dev20-Jun-11 22:18 
List classes (std::list or MFC CList etc) are temlate classes and can't have a sort function in a general basis. You have to iterate through the elements in list and implement any of the sorting algorithms as you do with noraml arrays. Since you are dealing with CString, you can use the overloaded < and > operators for comaparing string objects in list.
QuestionConverting char array to CSting Pin
VCProgrammer20-Jun-11 1:43
VCProgrammer20-Jun-11 1:43 
AnswerRe: Converting char array to CSting Pin
Pete O'Hanlon20-Jun-11 1:54
mvePete O'Hanlon20-Jun-11 1:54 
GeneralRe: Converting char array to CSting [modified] Pin
Albert Holguin20-Jun-11 4:36
professionalAlbert Holguin20-Jun-11 4:36 
GeneralRe: Converting char array to CSting Pin
Pete O'Hanlon20-Jun-11 6:10
mvePete O'Hanlon20-Jun-11 6:10 
AnswerRe: Converting char array to CSting Pin
CPallini20-Jun-11 1:55
mveCPallini20-Jun-11 1:55 
AnswerRe: Converting char array to CSting Pin
Rajesh R Subramanian20-Jun-11 3:54
professionalRajesh R Subramanian20-Jun-11 3:54 

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.