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

C / C++ / MFC

 
GeneralStruct for CListCtrl items/subitems Pin
Thomas Latuske29-Aug-04 8:03
Thomas Latuske29-Aug-04 8:03 
GeneralRe: Struct for CListCtrl items/subitems Pin
toxcct29-Aug-04 9:24
toxcct29-Aug-04 9:24 
GeneralRe: Struct for CListCtrl items/subitems Pin
KaЯl29-Aug-04 22:53
KaЯl29-Aug-04 22:53 
GeneralRe: Struct for CListCtrl items/subitems Pin
David Crow30-Aug-04 4:44
David Crow30-Aug-04 4:44 
GeneralEllipsis / variable parameters Pin
0v3rloader29-Aug-04 6:46
0v3rloader29-Aug-04 6:46 
GeneralRe: Ellipsis / variable parameters Pin
PJ Arends29-Aug-04 8:46
professionalPJ Arends29-Aug-04 8:46 
GeneralRe: Ellipsis / variable parameters Pin
0v3rloader29-Aug-04 9:48
0v3rloader29-Aug-04 9:48 
GeneralSequentially sorting Pin
Daniel132429-Aug-04 5:46
Daniel132429-Aug-04 5:46 
I have a CStringArray filled with a bunch of filenames. The filenames are like this... 1.jpg, 2.jpg, 3.jpg, and so on.

I have over a thousand of these. From time to time and for some reason I need to go through and rename all of them. I use CFileFind with FindFile() and FindNextFile()to fill the string array with the filenames. But, they're sorted alphabetically, 1.jpg, 10.jpg, 100.jpg, 2.jpg, 20.jpg, etc.

I need these to be sorted sequentially.

I cant seem to figure out how to do it. All I need is to sort the filenames in the string array sequentially.

Any help?

Thanks,
Daniel
GeneralRe: Sequentially sorting Pin
Maximilien29-Aug-04 6:09
Maximilien29-Aug-04 6:09 
GeneralRe: Sequentially sorting Pin
Daniel132429-Aug-04 6:26
Daniel132429-Aug-04 6:26 
GeneralRe: Sequentially sorting Pin
Maximilien29-Aug-04 6:38
Maximilien29-Aug-04 6:38 
GeneralRe: Sequentially sorting Pin
Daniel132429-Aug-04 6:43
Daniel132429-Aug-04 6:43 
GeneralRe: Sequentially sorting Pin
Ryan Binns29-Aug-04 19:24
Ryan Binns29-Aug-04 19:24 
GeneralUse STL Pin
Kevin McFarlane8-Oct-04 11:11
Kevin McFarlane8-Oct-04 11:11 
GeneralFinding CRLF or other Characters in char Pin
shibble29-Aug-04 4:32
shibble29-Aug-04 4:32 
GeneralRe: Finding CRLF or other Characters in char Pin
Member 30761229-Aug-04 7:09
Member 30761229-Aug-04 7:09 
GeneralRe: Finding CRLF or other Characters in char Pin
shibble29-Aug-04 7:19
shibble29-Aug-04 7:19 
GeneralIndentation+word wrapping in Edit windows Pin
DaFrawg29-Aug-04 2:26
DaFrawg29-Aug-04 2:26 
GeneralRe: Indentation+word wrapping in Edit windows Pin
Ryan Binns29-Aug-04 19:34
Ryan Binns29-Aug-04 19:34 
QuestionDetect available ODBC data sources? Pin
Roland E.29-Aug-04 0:09
Roland E.29-Aug-04 0:09 
AnswerRe: Detect available ODBC data sources? Pin
JimmyRopes29-Aug-04 5:04
professionalJimmyRopes29-Aug-04 5:04 
Question"Small" bug in CSimpleArray ??? Pin
Ernesto D.28-Aug-04 22:47
Ernesto D.28-Aug-04 22:47 
AnswerRe: "Small" bug in CSimpleArray ??? Pin
Neville Franks28-Aug-04 23:54
Neville Franks28-Aug-04 23:54 
GeneralRe: "Small" bug in CSimpleArray ??? Pin
Ernesto D.29-Aug-04 9:47
Ernesto D.29-Aug-04 9:47 
GeneralRe: "Small" bug in CSimpleArray ??? Pin
Neville Franks29-Aug-04 10:56
Neville Franks29-Aug-04 10:56 

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.