Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Extract the file name from the full file path Pin
Llasus8-Nov-07 16:59
Llasus8-Nov-07 16:59 
GeneralRe: Extract the file name from the full file path Pin
CodingLover8-Nov-07 17:24
CodingLover8-Nov-07 17:24 
GeneralRe: Extract the file name from the full file path Pin
Llasus8-Nov-07 17:35
Llasus8-Nov-07 17:35 
GeneralRe: Extract the file name from the full file path Pin
CodingLover8-Nov-07 17:55
CodingLover8-Nov-07 17:55 
GeneralRe: Extract the file name from the full file path Pin
Luc Pattyn8-Nov-07 18:00
sitebuilderLuc Pattyn8-Nov-07 18:00 
GeneralRe: Extract the file name from the full file path Pin
CodingLover8-Nov-07 18:10
CodingLover8-Nov-07 18:10 
GeneralRe: Extract the file name from the full file path Pin
Nelek8-Nov-07 21:52
protectorNelek8-Nov-07 21:52 
QuestionRe: Extract the file name from the full file path Pin
David Crow9-Nov-07 4:23
David Crow9-Nov-07 4:23 
Eranga Thennakoon wrote:
Use Find() to get the last '\' and then read backward to find the name. Try to follow the same way to find '.' and avoid extension. Failed.


Why mess with all of this, where there are existing functions that do it for you? Will your code work with other character sets?


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: Extract the file name from the full file path Pin
CodingLover8-Nov-07 19:50
CodingLover8-Nov-07 19:50 
GeneralRe: Extract the file name from the full file path Pin
Llasus8-Nov-07 20:11
Llasus8-Nov-07 20:11 
GeneralRe: Extract the file name from the full file path Pin
CodingLover8-Nov-07 21:22
CodingLover8-Nov-07 21:22 
QuestionRe: Extract the file name from the full file path Pin
Hamid_RT8-Nov-07 20:17
Hamid_RT8-Nov-07 20:17 
AnswerRe: Extract the file name from the full file path Pin
CodingLover8-Nov-07 21:24
CodingLover8-Nov-07 21:24 
GeneralRe: Extract the file name from the full file path Pin
David Crow9-Nov-07 4:18
David Crow9-Nov-07 4:18 
AnswerRe: Extract the file name from the full file path Pin
Naveen8-Nov-07 18:07
Naveen8-Nov-07 18:07 
GeneralRe: Extract the file name from the full file path Pin
CodingLover8-Nov-07 18:54
CodingLover8-Nov-07 18:54 
GeneralRe: Extract the file name from the full file path Pin
Iain Clarke, Warrior Programmer9-Nov-07 4:33
Iain Clarke, Warrior Programmer9-Nov-07 4:33 
QuestionRe: Extract the file name from the full file path Pin
David Crow9-Nov-07 4:50
David Crow9-Nov-07 4:50 
AnswerRe: Extract the file name from the full file path Pin
Blake Miller20-Nov-07 4:57
Blake Miller20-Nov-07 4:57 
AnswerRe: Extract the file name from the full file path Pin
Andy Moore9-Nov-07 6:24
Andy Moore9-Nov-07 6:24 
GeneralRe: Extract the file name from the full file path Pin
CodingLover11-Nov-07 19:27
CodingLover11-Nov-07 19:27 
Questionparsing C++ header file Pin
DevMentor.org8-Nov-07 16:07
DevMentor.org8-Nov-07 16:07 
AnswerRe: parsing C++ header file Pin
Hamid_RT8-Nov-07 20:18
Hamid_RT8-Nov-07 20:18 
GeneralRe: parsing C++ header file Pin
DevMentor.org8-Nov-07 21:59
DevMentor.org8-Nov-07 21:59 
QuestionRe: parsing C++ header file Pin
David Crow9-Nov-07 4:26
David Crow9-Nov-07 4:26 

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.