Click here to Skip to main content
15,898,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help on creating .exe for another PC that has no Visual Studio Pin
toxcct23-Aug-07 22:01
toxcct23-Aug-07 22:01 
GeneralRe: Help on creating .exe for another PC that has no Visual Studio Pin
Llasus23-Aug-07 22:28
Llasus23-Aug-07 22:28 
AnswerRe: Help on creating .exe for another PC that has no Visual Studio Pin
Sameerkumar Namdeo23-Aug-07 21:33
Sameerkumar Namdeo23-Aug-07 21:33 
GeneralRe: Help on creating .exe for another PC that has no Visual Studio Pin
Llasus23-Aug-07 22:30
Llasus23-Aug-07 22:30 
AnswerRe: Help on creating .exe for another PC that has no Visual Studio Pin
jhwurmbach23-Aug-07 22:11
jhwurmbach23-Aug-07 22:11 
GeneralRe: Help on creating .exe for another PC that has no Visual Studio Pin
Llasus23-Aug-07 22:31
Llasus23-Aug-07 22:31 
Questionstring::substr -- allocate on heap? Pin
devvvy23-Aug-07 15:45
devvvy23-Aug-07 15:45 
AnswerRe: string::substr -- allocate on heap? Pin
User 58385223-Aug-07 20:11
User 58385223-Aug-07 20:11 
From MSDN substr() page ...

Return Value
A substring object that is a copy of elements of the string operand beginning at the position specified by the first argument.

It IS a copy. Different implementations of the STL handle allocating memory for strings differntly but there is a good chance its allocating memory on the heap.

With most versions of Visual Studio you get the full source code for the STL so you could easily answer this yourself with some investigation
QuestionCPU Time of a process Pin
DevMentor.org23-Aug-07 12:05
DevMentor.org23-Aug-07 12:05 
AnswerRe: CPU Time of a process Pin
DevMentor.org23-Aug-07 12:15
DevMentor.org23-Aug-07 12:15 
AnswerRe: CPU Time of a process Pin
aks.23-Aug-07 15:29
aks.23-Aug-07 15:29 
GeneralRe: CPU Time of a process Pin
DevMentor.org23-Aug-07 15:59
DevMentor.org23-Aug-07 15:59 
QuestionCan I enforce the IntelliSence databese rebuild in VS2005? Pin
oleg6323-Aug-07 11:40
professionaloleg6323-Aug-07 11:40 
QuestionAPI For Monitoring Events on a Folder Pin
vikrant kpr23-Aug-07 10:38
vikrant kpr23-Aug-07 10:38 
AnswerRe: API For Monitoring Events on a Folder Pin
Michael Dunn23-Aug-07 10:45
sitebuilderMichael Dunn23-Aug-07 10:45 
GeneralRe: API For Monitoring Events on a Folder Pin
vikrant kpr23-Aug-07 10:52
vikrant kpr23-Aug-07 10:52 
AnswerRe: API For Monitoring Events on a Folder Pin
ThatsAlok23-Aug-07 20:12
ThatsAlok23-Aug-07 20:12 
AnswerRe: API For Monitoring Events on a Folder Pin
Hamid_RT24-Aug-07 3:02
Hamid_RT24-Aug-07 3:02 
QuestionHow change the menu background color? Pin
Cris23-Aug-07 10:30
Cris23-Aug-07 10:30 
AnswerRe: How change the menu background color? Pin
Mark Salsbery23-Aug-07 10:46
Mark Salsbery23-Aug-07 10:46 
AnswerRe: How change the menu background color? Pin
Hamid_RT24-Aug-07 3:02
Hamid_RT24-Aug-07 3:02 
QuestionTCHAR to char * Pin
Rajesh_Parameswaran23-Aug-07 9:00
Rajesh_Parameswaran23-Aug-07 9:00 
AnswerRe: TCHAR to char * Pin
Mark Salsbery23-Aug-07 9:44
Mark Salsbery23-Aug-07 9:44 
AnswerRe: TCHAR to char * Pin
Mark Salsbery23-Aug-07 9:49
Mark Salsbery23-Aug-07 9:49 
AnswerRe: TCHAR to char * Pin
Michael Dunn23-Aug-07 10:49
sitebuilderMichael Dunn23-Aug-07 10:49 

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.