Click here to Skip to main content
16,006,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Where is wrong when I try to get the recordset? Pin
Andrzej Markowski15-Oct-04 18:33
Andrzej Markowski15-Oct-04 18:33 
GeneralProblem Parsing Pictures from Rich-Text (RTF) File Pin
Popeye Doyle Murray15-Oct-04 2:48
Popeye Doyle Murray15-Oct-04 2:48 
GeneralRe: Problem Parsing Pictures from Rich-Text (RTF) File Pin
Henry miller15-Oct-04 7:01
Henry miller15-Oct-04 7:01 
GeneralRe: Problem Parsing Pictures from Rich-Text (RTF) File Pin
Joel Lucsy15-Oct-04 12:01
Joel Lucsy15-Oct-04 12:01 
GeneralParse Filenames for extracting Tags Pin
Summi15-Oct-04 2:42
Summi15-Oct-04 2:42 
GeneralRe: Parse Filenames for extracting Tags Pin
David Crow15-Oct-04 4:42
David Crow15-Oct-04 4:42 
GeneralRe: Parse Filenames for extracting Tags Pin
Maximilien15-Oct-04 5:01
Maximilien15-Oct-04 5:01 
GeneralRe: Parse Filenames for extracting Tags Pin
David Crow15-Oct-04 5:46
David Crow15-Oct-04 5:46 
Maximilien wrote:
basically, a sscan.

I assume you mean sscanf(). If so, then something like the following would work:

char *lp = "01-Pink Floyd-The Dark Side Of The Moog-Money.mp3",
     szNumber[8], szArtist[16], szAlbum[32], szTrack[16];
sscanf(lp, "%[0-9]%*c%[^-]%*c%[^-]%*c%[^.]", szNumber, szArtist, szAlbum, szTrack);



"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow


GeneralRe: Parse Filenames for extracting Tags Pin
Maximilien15-Oct-04 6:47
Maximilien15-Oct-04 6:47 
GeneralRe: Parse Filenames for extracting Tags Pin
Summi19-Oct-04 2:36
Summi19-Oct-04 2:36 
GeneralMultiple Dialogs Pin
sweep12315-Oct-04 2:10
sweep12315-Oct-04 2:10 
GeneralRe: Multiple Dialogs Pin
Maximilien15-Oct-04 2:44
Maximilien15-Oct-04 2:44 
GeneralToggel button with menu open Pin
verma-rahul15-Oct-04 2:05
verma-rahul15-Oct-04 2:05 
GeneralRe: Toggel button with menu open Pin
jan larsen15-Oct-04 2:09
jan larsen15-Oct-04 2:09 
GeneralRe: Toggel button with menu open Pin
Ravi Bhavnani15-Oct-04 6:21
professionalRavi Bhavnani15-Oct-04 6:21 
Questionwhat are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
lavate malllik15-Oct-04 0:50
lavate malllik15-Oct-04 0:50 
AnswerRe: what are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
toxcct15-Oct-04 0:55
toxcct15-Oct-04 0:55 
AnswerRe: what are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
Phil J Pearson15-Oct-04 0:59
Phil J Pearson15-Oct-04 0:59 
GeneralRe: what are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
David Crow15-Oct-04 4:46
David Crow15-Oct-04 4:46 
GeneralRe: what are the basic setting we have to do in the Microsoft Visual Studio to run this code? Pin
Ravi Bhavnani15-Oct-04 6:23
professionalRavi Bhavnani15-Oct-04 6:23 
GeneralMFC message routing weirdness Pin
Phil J Pearson15-Oct-04 0:47
Phil J Pearson15-Oct-04 0:47 
GeneralRe: MFC message routing weirdness Pin
Blake Miller15-Oct-04 4:25
Blake Miller15-Oct-04 4:25 
GeneralRe: MFC message routing weirdness Pin
Phil J Pearson15-Oct-04 4:43
Phil J Pearson15-Oct-04 4:43 
GeneralRe: MFC message routing weirdness - solved! Pin
Phil J Pearson15-Oct-04 5:18
Phil J Pearson15-Oct-04 5:18 
QuestionHow can I receive mails that is coming to my outlook in an MFC appliation. Pin
VCSharp00714-Oct-04 23:32
VCSharp00714-Oct-04 23:32 

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.