Click here to Skip to main content
15,904,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to add additional character in multiple places of an array string Pin
jeron17-May-15 5:08
jeron17-May-15 5:08 
AnswerRe: How to add additional character in multiple places of an array string Pin
Richard MacCutchan7-May-15 6:06
mveRichard MacCutchan7-May-15 6:06 
AnswerRe: How to add additional character in multiple places of an array string Pin
CPallini7-May-15 6:08
mveCPallini7-May-15 6:08 
QuestionEnumerating windows on desktop (VC++) Pin
Krishnakumartg4-May-15 0:19
Krishnakumartg4-May-15 0:19 
SuggestionRe: Enumerating windows on desktop (VC++) Pin
David Crow4-May-15 3:28
David Crow4-May-15 3:28 
GeneralRe: Enumerating windows on desktop (VC++) Pin
Krishnakumartg4-May-15 19:59
Krishnakumartg4-May-15 19:59 
QuestionHow to get Browser AddOns list using C++.? Pin
mbatra313-May-15 20:24
mbatra313-May-15 20:24 
AnswerRe: How to get Browser AddOns list using C++.? Pin
Richard MacCutchan3-May-15 21:27
mveRichard MacCutchan3-May-15 21:27 
Questionconvert this c++ code to c programing Pin
Member 116584881-May-15 21:53
Member 116584881-May-15 21:53 
AnswerRe: convert this c++ code to c programing Pin
Richard MacCutchan1-May-15 22:45
mveRichard MacCutchan1-May-15 22:45 
AnswerRe: convert this c++ code to c programing Pin
David Crow2-May-15 16:47
David Crow2-May-15 16:47 
AnswerRe: convert this c++ code to c programing Pin
Munchies_Matt5-May-15 2:18
Munchies_Matt5-May-15 2:18 
QuestionStrange Compiler behavior Pin
ForNow1-May-15 12:08
ForNow1-May-15 12:08 
QuestionRe: Strange Compiler behavior Pin
Richard MacCutchan1-May-15 22:43
mveRichard MacCutchan1-May-15 22:43 
AnswerRe: Strange Compiler behavior Pin
ForNow2-May-15 15:12
ForNow2-May-15 15:12 
GeneralRe: Strange Compiler behavior Pin
Richard MacCutchan2-May-15 20:50
mveRichard MacCutchan2-May-15 20:50 
GeneralRe: Strange Compiler behavior Pin
ForNow2-May-15 21:05
ForNow2-May-15 21:05 
QuestionCWinThread::CAsyncSocket::Create issues Pin
ForNow28-Apr-15 4:52
ForNow28-Apr-15 4:52 
AnswerCode works in CWInThread constructer ? Pin
ForNow29-Apr-15 6:03
ForNow29-Apr-15 6:03 
GeneralRe: Code works in CWInThread constructer ? Pin
Albert Holguin1-May-15 4:40
professionalAlbert Holguin1-May-15 4:40 
GeneralRe: Code works in CWInThread constructer ? Pin
ForNow1-May-15 6:16
ForNow1-May-15 6:16 
Questionswscanf_s White Space Help Pin
Jesuaw28-Apr-15 4:09
Jesuaw28-Apr-15 4:09 
AnswerRe: swscanf_s White Space Help Pin
k505428-Apr-15 5:41
mvek505428-Apr-15 5:41 
GeneralRe: swscanf_s White Space Help Pin
Jesuaw28-Apr-15 6:50
Jesuaw28-Apr-15 6:50 
GeneralRe: swscanf_s White Space Help Pin
k505428-Apr-15 7:05
mvek505428-Apr-15 7:05 
Even if that worked, it probably wouldn't do what you wanted - e.g. if the input text was "a small withered man with the axe", you'd get "a small wi" copied to your output variable.

Depending on what you're trying to do, maybe regex() might be a better tool in this case, though I'm not sure about regex() and wide strings.

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.