Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: topsort algorithm using minimal vertex Pin
David Crow5-Oct-07 5:38
David Crow5-Oct-07 5:38 
QuestionResizing windows Pin
prithaa4-Oct-07 18:20
prithaa4-Oct-07 18:20 
AnswerRe: Resizing windows Pin
Nishad S4-Oct-07 18:44
Nishad S4-Oct-07 18:44 
AnswerRe: Resizing windows Pin
Jhony george4-Oct-07 19:07
Jhony george4-Oct-07 19:07 
GeneralRe: Resizing windows Pin
prithaa4-Oct-07 20:31
prithaa4-Oct-07 20:31 
AnswerRe: Resizing windows Pin
Parthi_Appu4-Oct-07 20:44
Parthi_Appu4-Oct-07 20:44 
QuestionCString Pin
sidkraft4-Oct-07 16:46
sidkraft4-Oct-07 16:46 
AnswerRe: CString Pin
bob169724-Oct-07 18:39
bob169724-Oct-07 18:39 
When you need a const string you can use a CString directly.
When it's being used in a non-const fashion, use CString::GetBuffer.

char *strncpy( char *strDest, const char *strSource, size_t count );

(i.e. Here you can use CString as is for the second parameter since the LPCTSTR operator kicks in. If you use CString for the first parameter, you need it to be non-const. In other words, you need a buffer, so use CString::GetBuffer as the first parameter and later calling CString::ReleaseBuffer before calling any other CString member functions.)
AnswerRe: CString Pin
ThatsAlok4-Oct-07 19:22
ThatsAlok4-Oct-07 19:22 
GeneralRe: CString Pin
Michael Dunn4-Oct-07 20:57
sitebuilderMichael Dunn4-Oct-07 20:57 
GeneralRe: CString Pin
ThatsAlok5-Oct-07 0:30
ThatsAlok5-Oct-07 0:30 
GeneralRe: CString Pin
Hamid_RT5-Oct-07 0:56
Hamid_RT5-Oct-07 0:56 
AnswerRe: CString Pin
David Crow5-Oct-07 3:25
David Crow5-Oct-07 3:25 
QuestionSockets Pin
Adno4-Oct-07 16:02
Adno4-Oct-07 16:02 
AnswerRe: Sockets Pin
Mark Salsbery5-Oct-07 6:32
Mark Salsbery5-Oct-07 6:32 
Questionpreprocessor, pragma, dll, and paths Pin
bob169724-Oct-07 15:49
bob169724-Oct-07 15:49 
QuestionMerge 3 or more CSV file by date into 1 csv file Pin
jsmotu4-Oct-07 12:20
jsmotu4-Oct-07 12:20 
QuestionRe: Merge 3 or more CSV file by date into 1 csv file Pin
George L. Jackson4-Oct-07 12:33
George L. Jackson4-Oct-07 12:33 
AnswerRe: Merge 3 or more CSV file by date into 1 csv file Pin
Iain Clarke, Warrior Programmer5-Oct-07 5:41
Iain Clarke, Warrior Programmer5-Oct-07 5:41 
Questionhow would i Pin
MMaines20054-Oct-07 9:52
MMaines20054-Oct-07 9:52 
QuestionRe: how would i Pin
Mark Salsbery4-Oct-07 10:01
Mark Salsbery4-Oct-07 10:01 
AnswerRe: how would i Pin
Hamid_RT4-Oct-07 10:16
Hamid_RT4-Oct-07 10:16 
GeneralRe: how would i Pin
Mark Salsbery4-Oct-07 10:26
Mark Salsbery4-Oct-07 10:26 
QuestionRe: how would i Pin
MMaines20054-Oct-07 15:13
MMaines20054-Oct-07 15:13 
AnswerRe: how would i Pin
Hamid_RT4-Oct-07 23:24
Hamid_RT4-Oct-07 23:24 

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.