Click here to Skip to main content

C / C++ / MFC

 
QuestionHow to implement C++ raw string literals in VIsual C++ 2010? PinmemberFalconapollo22-Dec-12 19:03 
Questionproblems returning/printing poiner Pinmemberdoughyi8u20-Dec-12 15:16 
AnswerRe: problems returning/printing poiner PinmemberJochen Arndt20-Dec-12 22:15 
AnswerRe: problems returning/printing poiner PinmvpRichard MacCutchan20-Dec-12 23:47 
In addition to Jochen's comments, you also need to allocate some memory to strB before calling your copy function. The code above will be copying into some random place and probably crash.
One of these days I'm going to think of a really clever signature.

GeneralRe: problems returning/printing poiner PinmemberJochen Arndt21-Dec-12 0:07 
GeneralRe: problems returning/printing poiner PinmvpRichard MacCutchan21-Dec-12 1:19 
QuestionC++ ownerdrawfixed combobox "header" PinmemberNoviceEx19-Dec-12 3:49 
AnswerRe: C++ ownerdrawfixed combobox "header" Pinmemberjeron119-Dec-12 5:19 
QuestionHow to make a project resolution independent.? Pinmembermbatra3119-Dec-12 0:56 
AnswerRe: How to make a project resolution independent.? PinmemberJochen Arndt19-Dec-12 1:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150326.1 | Last Updated 27 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid