Click here to Skip to main content
15,796,734 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: binary data to image VC++ Pin
Mukund Pradeep9-Feb-15 23:36
Mukund Pradeep9-Feb-15 23:36 
GeneralRe: binary data to image VC++ Pin
Richard MacCutchan10-Feb-15 0:20
mveRichard MacCutchan10-Feb-15 0:20 
GeneralRe: binary data to image VC++ Pin
Mukund Pradeep10-Feb-15 18:21
Mukund Pradeep10-Feb-15 18:21 
GeneralRe: binary data to image VC++ Pin
Richard MacCutchan10-Feb-15 22:22
mveRichard MacCutchan10-Feb-15 22:22 
GeneralRe: binary data to image VC++ Pin
Mukund Pradeep10-Feb-15 23:05
Mukund Pradeep10-Feb-15 23:05 
AnswerRe: binary data to image VC++ Pin
Chris Losinger18-Jan-15 9:49
professionalChris Losinger18-Jan-15 9:49 
Questioncan a function return WCHAR Pin
bkelly1316-Jan-15 7:07
bkelly1316-Jan-15 7:07 
AnswerRe: can a function return WCHAR Pin
CPallini16-Jan-15 8:54
mveCPallini16-Jan-15 8:54 
Yes, a function may return a WCHAR (and your function, misnamed as it is, does it). Howevever, in your code you are trying to assign it to an array name (and you can't do that).
The
C++
bool get_string( WCHAR * target, int target_size );

function can properly modify the passed array (for instance, Windows API use such a mechanism).

Please note, in C++ you could use std::wstring[^] instead of an array of WCHARs.
GeneralRe: can a function return WCHAR Pin
bkelly1316-Jan-15 14:54
bkelly1316-Jan-15 14:54 
AnswerRe: can a function return WCHAR Pin
Richard Andrew x6416-Jan-15 15:54
professionalRichard Andrew x6416-Jan-15 15:54 
GeneralRe: can a function return WCHAR Pin
CPallini16-Jan-15 23:32
mveCPallini16-Jan-15 23:32 
GeneralRe: can a function return WCHAR Pin
bkelly1319-Jan-15 8:48
bkelly1319-Jan-15 8:48 
GeneralRe: can a function return WCHAR Pin
CPallini19-Jan-15 9:02
mveCPallini19-Jan-15 9:02 
GeneralRe: can a function return WCHAR Pin
bkelly1321-Jan-15 17:19
bkelly1321-Jan-15 17:19 
GeneralRe: can a function return WCHAR Pin
CPallini22-Jan-15 6:51
mveCPallini22-Jan-15 6:51 
QuestionYASAQ Yet another silly academic question - how does "code optimization" really works? Pin
Vaclav_16-Jan-15 4:55
Vaclav_16-Jan-15 4:55 
AnswerRe: YASAQ Yet another silly academic question - how does "code optimization" really works? Pin
PIEBALDconsult16-Jan-15 5:02
professionalPIEBALDconsult16-Jan-15 5:02 
AnswerRe: YASAQ Yet another silly academic question - how does "code optimization" really works? Pin
Richard MacCutchan16-Jan-15 5:49
mveRichard MacCutchan16-Jan-15 5:49 
GeneralRe: YASAQ Yet another silly academic question - how does "code optimization" really works? Pin
CPallini16-Jan-15 6:31
mveCPallini16-Jan-15 6:31 
GeneralRe: YASAQ Yet another silly academic question - how does "code optimization" really works? Pin
Richard MacCutchan16-Jan-15 6:44
mveRichard MacCutchan16-Jan-15 6:44 
QuestionRe: YASAQ Yet another silly academic question - how does "code optimization" really works? Pin
CPallini16-Jan-15 8:39
mveCPallini16-Jan-15 8:39 
AnswerRe: YASAQ Yet another silly academic question - how does "code optimization" really works? Pin
Mike Nordell2-Feb-15 11:27
Mike Nordell2-Feb-15 11:27 
AnswerRe: YASAQ Yet another silly academic question - how does "code optimization" really works? Pin
CPallini16-Jan-15 6:28
mveCPallini16-Jan-15 6:28 
AnswerRe: YASAQ Yet another silly academic question - how does "code optimization" really works? Pin
jschell16-Jan-15 13:29
jschell16-Jan-15 13:29 
GeneralRe: YASAQ Yet another silly academic question - how does "code optimization" really works? Pin
Vaclav_17-Jan-15 4:33
Vaclav_17-Jan-15 4:33 

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.