Click here to Skip to main content
15,895,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CPropertySheet Default Button Pin
Wim Jans11-Mar-03 21:25
Wim Jans11-Mar-03 21:25 
GeneralRe: CPropertySheet Default Button Pin
Wim Jans11-Mar-03 21:53
Wim Jans11-Mar-03 21:53 
GeneralGDI resources Pin
doctorpi11-Mar-03 6:28
doctorpi11-Mar-03 6:28 
GeneralRe: GDI resources Pin
MAAK11-Mar-03 8:55
MAAK11-Mar-03 8:55 
GeneralPlayEnhMetaFile on CreateDIBSection Pin
dr_nick_riviera11-Mar-03 6:06
dr_nick_riviera11-Mar-03 6:06 
GeneralPlayEnhMetaFile Pin
dr_nick_riviera11-Mar-03 6:04
dr_nick_riviera11-Mar-03 6:04 
QuestionSeparate all lines in a string? Pin
Rickard Andersson2011-Mar-03 6:02
Rickard Andersson2011-Mar-03 6:02 
AnswerRe: Separate all lines in a string? Pin
Big Art11-Mar-03 7:27
Big Art11-Mar-03 7:27 
You could use CString::Replace(..) fn replacing the \n with the same thing \n. This will leave the string unchanged and return the total number of occurances ie. your line count. After you use it to create your new array you can then tokenize you string into substrings.

Art

GeneralRe: Separate all lines in a string? Pin
Rickard Andersson2011-Mar-03 8:34
Rickard Andersson2011-Mar-03 8:34 
AnswerRe: Separate all lines in a string? Pin
Alvaro Mendez11-Mar-03 11:13
Alvaro Mendez11-Mar-03 11:13 
AnswerRe: Separate all lines in a string? Pin
valikac11-Mar-03 12:16
valikac11-Mar-03 12:16 
QuestionPopup MsgBox without a parent to pass? Pin
dazinith11-Mar-03 6:01
dazinith11-Mar-03 6:01 
AnswerRe: Popup MsgBox without a parent to pass? Pin
dazinith11-Mar-03 6:17
dazinith11-Mar-03 6:17 
GeneralRe: Popup MsgBox without a parent to pass? Pin
Alvaro Mendez11-Mar-03 11:17
Alvaro Mendez11-Mar-03 11:17 
QuestionWhat is wrong with this code? An URGENT question. Pin
mijarral11-Mar-03 5:57
mijarral11-Mar-03 5:57 
AnswerRe: What is wrong with this code? An URGENT question. Pin
Maximilien11-Mar-03 6:32
Maximilien11-Mar-03 6:32 
GeneralDriver not capable at Update Pin
ElizabethC11-Mar-03 5:43
ElizabethC11-Mar-03 5:43 
GeneralRe: Driver not capable at Update Pin
Alvaro Mendez11-Mar-03 11:20
Alvaro Mendez11-Mar-03 11:20 
GeneralRe: Driver not capable at Update Pin
Anonymous11-Mar-03 12:24
Anonymous11-Mar-03 12:24 
GeneralRe: Driver not capable at Update (same as the previous reply) Pin
ElizabethC11-Mar-03 12:52
ElizabethC11-Mar-03 12:52 
GeneralRe: Driver not capable at Update Pin
ramki kicha11-Mar-03 17:45
sussramki kicha11-Mar-03 17:45 
GeneralRe: Driver not capable at Update Pin
ElizabethC12-Mar-03 12:29
ElizabethC12-Mar-03 12:29 
Generalwebbrowser2 navigate help Pin
Doom11-Mar-03 5:18
Doom11-Mar-03 5:18 
GeneralRe: webbrowser2 navigate help Pin
Big Art11-Mar-03 6:08
Big Art11-Mar-03 6:08 
GeneralRe: webbrowser2 navigate help Pin
Doom11-Mar-03 6:53
Doom11-Mar-03 6:53 

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.