Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DWORD dw='pp' is valid in VC++ 6.0 :( Pin
David Crow7-Nov-07 4:32
David Crow7-Nov-07 4:32 
QuestionRead Console Output Pin
nitin36-Nov-07 23:39
nitin36-Nov-07 23:39 
AnswerRe: Read Console Output Pin
Raj Prathap6-Nov-07 23:45
Raj Prathap6-Nov-07 23:45 
GeneralRe: Read Console Output Pin
Matthew Faithfull7-Nov-07 0:02
Matthew Faithfull7-Nov-07 0:02 
QuestionRe: Read Console Output Pin
David Crow7-Nov-07 4:34
David Crow7-Nov-07 4:34 
QuestionAbout Memory initialization Pin
manish.patel6-Nov-07 23:30
manish.patel6-Nov-07 23:30 
AnswerRe: About Memory initialization Pin
Raj Prathap6-Nov-07 23:52
Raj Prathap6-Nov-07 23:52 
AnswerRe: About Memory initialization Pin
jhwurmbach6-Nov-07 23:56
jhwurmbach6-Nov-07 23:56 
std::string text(n);

const char* str = &text[0];


Remember the const, though.

Almost the same is possible with the MFC CString.


Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

GeneralRe: About Memory initialization Pin
toxcct7-Nov-07 0:11
toxcct7-Nov-07 0:11 
GeneralRe: About Memory initialization Pin
jhwurmbach7-Nov-07 0:35
jhwurmbach7-Nov-07 0:35 
GeneralRe: About Memory initialization Pin
Nemanja Trifunovic7-Nov-07 3:48
Nemanja Trifunovic7-Nov-07 3:48 
GeneralRe: About Memory initialization Pin
jhwurmbach7-Nov-07 3:52
jhwurmbach7-Nov-07 3:52 
GeneralRe: About Memory initialization Pin
Nemanja Trifunovic7-Nov-07 4:17
Nemanja Trifunovic7-Nov-07 4:17 
GeneralRe: About Memory initialization Pin
Matthew Faithfull6-Nov-07 23:58
Matthew Faithfull6-Nov-07 23:58 
GeneralRe: About Memory initialization Pin
toxcct7-Nov-07 0:13
toxcct7-Nov-07 0:13 
AnswerRe: About Memory initialization Pin
toxcct7-Nov-07 0:08
toxcct7-Nov-07 0:08 
AnswerRe: About Memory initialization Pin
John R. Shaw7-Nov-07 0:56
John R. Shaw7-Nov-07 0:56 
QuestionHow to make a connection to MySQL in MFC? Pin
TooShy2Talk6-Nov-07 23:15
TooShy2Talk6-Nov-07 23:15 
QuestionRe: How to make a connection to MySQL in MFC? Pin
David Crow7-Nov-07 4:37
David Crow7-Nov-07 4:37 
AnswerRe: How to make a connection to MySQL in MFC? Pin
TooShy2Talk7-Nov-07 14:37
TooShy2Talk7-Nov-07 14:37 
QuestionRe: How to make a connection to MySQL in MFC? Pin
David Crow8-Nov-07 2:41
David Crow8-Nov-07 2:41 
QuestionDYNCALL(writeData)((UCHAR *) Pin
doc606-Nov-07 22:59
doc606-Nov-07 22:59 
AnswerRe: DYNCALL(writeData)((UCHAR *) Pin
Matthew Faithfull6-Nov-07 23:08
Matthew Faithfull6-Nov-07 23:08 
GeneralCompilation on dual-core Pin
hairy_hats6-Nov-07 22:37
hairy_hats6-Nov-07 22:37 
GeneralRe: Compilation on dual-core Pin
Matthew Faithfull6-Nov-07 23:00
Matthew Faithfull6-Nov-07 23:00 

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.