Click here to Skip to main content
15,905,238 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: How to return char* Pin
«_Superman_»30-Nov-11 23:56
professional«_Superman_»30-Nov-11 23:56 
AnswerRe: How to return char* Pin
Richard Andrew x6430-Nov-11 19:51
professionalRichard Andrew x6430-Nov-11 19:51 
GeneralRe: How to return char* Pin
Paulraj G30-Nov-11 20:01
Paulraj G30-Nov-11 20:01 
GeneralRe: How to return char* Pin
«_Superman_»30-Nov-11 20:13
professional«_Superman_»30-Nov-11 20:13 
GeneralRe: How to return char* Pin
Stefan_Lang6-Dec-11 0:33
Stefan_Lang6-Dec-11 0:33 
AnswerRe: How to return char* Pin
Software_Developer30-Nov-11 20:25
Software_Developer30-Nov-11 20:25 
QuestionRe: How to return char* Pin
CPallini1-Dec-11 1:53
mveCPallini1-Dec-11 1:53 
GeneralRe: How to return char* Pin
Addy Tas1-Dec-11 2:14
Addy Tas1-Dec-11 2:14 
You'd better use memcpy to copy the literal string to ptrChar. Doing it like the makes you call delete on statically allocated memory.
The assignment just returns the address of the literal string

Cheers, AT
Cogito ergo sum

AnswerRe: How to return char* Pin
Erudite_Eric1-Dec-11 4:09
Erudite_Eric1-Dec-11 4:09 
GeneralRe: How to return char* Pin
Addy Tas1-Dec-11 7:12
Addy Tas1-Dec-11 7:12 
GeneralRe: How to return char* Pin
Stefan_Lang6-Dec-11 1:41
Stefan_Lang6-Dec-11 1:41 
GeneralRe: How to return char* Pin
Erudite_Eric6-Dec-11 3:40
Erudite_Eric6-Dec-11 3:40 
Questiondxf extraction in c Pin
tanatswa3330-Nov-11 10:44
tanatswa3330-Nov-11 10:44 
AnswerRe: dxf extraction in c Pin
Albert Holguin30-Nov-11 11:43
professionalAlbert Holguin30-Nov-11 11:43 
GeneralRe: dxf extraction in c Pin
tanatswa3330-Nov-11 12:00
tanatswa3330-Nov-11 12:00 
GeneralRe: dxf extraction in c Pin
Albert Holguin30-Nov-11 16:49
professionalAlbert Holguin30-Nov-11 16:49 
GeneralRe: dxf extraction in c Pin
enhzflep30-Nov-11 17:51
enhzflep30-Nov-11 17:51 
GeneralRe: dxf extraction in c Pin
Albert Holguin1-Dec-11 3:26
professionalAlbert Holguin1-Dec-11 3:26 
GeneralRe: dxf extraction in c Pin
Richard MacCutchan30-Nov-11 22:11
mveRichard MacCutchan30-Nov-11 22:11 
GeneralRe: dxf extraction in c Pin
Addy Tas1-Dec-11 8:38
Addy Tas1-Dec-11 8:38 
AnswerRe: dxf extraction in c Pin
Software_Developer30-Nov-11 23:16
Software_Developer30-Nov-11 23:16 
Questionc++ SQL Server Rowset Column Buffer Pin
jkirkerx30-Nov-11 9:02
professionaljkirkerx30-Nov-11 9:02 
AnswerRe: c++ SQL Server Rowset Column Buffer Pin
jkirkerx30-Nov-11 10:10
professionaljkirkerx30-Nov-11 10:10 
AnswerRe: c++ SQL Server Rowset Column Buffer Pin
Snorri Kristjansson1-Dec-11 2:30
professionalSnorri Kristjansson1-Dec-11 2:30 
GeneralRe: c++ SQL Server Rowset Column Buffer Pin
jkirkerx1-Dec-11 6:07
professionaljkirkerx1-Dec-11 6:07 

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.