Click here to Skip to main content
15,899,475 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: DEBUG_NEW for ATL apps? Pin
Michael Dunn7-Aug-06 8:14
sitebuilderMichael Dunn7-Aug-06 8:14 
GeneralRe: DEBUG_NEW for ATL apps? Pin
Jörgen Sigvardsson8-Aug-06 20:47
Jörgen Sigvardsson8-Aug-06 20:47 
AnswerRe: DEBUG_NEW for ATL apps? [modified] Pin
Stuart Dootson7-Aug-06 21:24
professionalStuart Dootson7-Aug-06 21:24 
GeneralRe: DEBUG_NEW for ATL apps? Pin
Rob Caldecott7-Aug-06 21:57
Rob Caldecott7-Aug-06 21:57 
GeneralRe: DEBUG_NEW for ATL apps? Pin
Stuart Dootson8-Aug-06 0:05
professionalStuart Dootson8-Aug-06 0:05 
QuestionFileMaker Pro Pin
khwo6-Aug-06 20:59
khwo6-Aug-06 20:59 
AnswerRe: FileMaker Pro Pin
User 2155976-Aug-06 21:34
User 2155976-Aug-06 21:34 
Questionstl containers allocation in heap or stack? Pin
sawerr4-Aug-06 12:44
sawerr4-Aug-06 12:44 
Hi I am new to stl.
I see that we don't need to delete our containers
For example:
vector <char> vec;
But why?
Here, Does vec allocate in heap or stack by default.I heard that Although we don't create vec without new , it is allocated in heap and automatically delete it.Is this true?
If true i tried this:
vector <char>* vec = new vector<char>;
delete vec;
it doesn't give me error.Here this mustn't work.Am i wrong?

I looked to google, there are so many things about stl but i can't find explanation about relationship between stl containers and heap,stack allocation(or new ,delete).In what circumstances are stl containers allocated in heap or stack.And In what circumstances do we need to delete our containers?

Can you please explain me.

Thanks...
AnswerRe: stl containers allocation in heap or stack? Pin
Jörgen Sigvardsson4-Aug-06 13:14
Jörgen Sigvardsson4-Aug-06 13:14 
GeneralRe: stl containers allocation in heap or stack? Pin
sawerr4-Aug-06 20:07
sawerr4-Aug-06 20:07 
AnswerRe: stl containers allocation in heap or stack? Pin
Kevin McFarlane7-Aug-06 0:41
Kevin McFarlane7-Aug-06 0:41 
GeneralRe: stl containers allocation in heap or stack? Pin
Jörgen Sigvardsson17-Aug-06 12:20
Jörgen Sigvardsson17-Aug-06 12:20 
GeneralRe: stl containers allocation in heap or stack? Pin
Kevin McFarlane18-Aug-06 8:44
Kevin McFarlane18-Aug-06 8:44 
Question[ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan4-Aug-06 3:18
Eytukan4-Aug-06 3:18 
AnswerRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Roger Stoltz4-Aug-06 4:12
Roger Stoltz4-Aug-06 4:12 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan4-Aug-06 4:19
Eytukan4-Aug-06 4:19 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Roger Stoltz4-Aug-06 4:34
Roger Stoltz4-Aug-06 4:34 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan4-Aug-06 5:28
Eytukan4-Aug-06 5:28 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Roger Stoltz4-Aug-06 5:35
Roger Stoltz4-Aug-06 5:35 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan8-Aug-06 3:36
Eytukan8-Aug-06 3:36 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! [modified] Pin
Roger Stoltz8-Aug-06 3:45
Roger Stoltz8-Aug-06 3:45 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan8-Aug-06 23:13
Eytukan8-Aug-06 23:13 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan10-Aug-06 22:59
Eytukan10-Aug-06 22:59 
QuestionATL and _pAtlModule->Lock() failure. Pin
eXeonical..4-Aug-06 0:12
eXeonical..4-Aug-06 0:12 
AnswerRe: ATL and _pAtlModule->Lock() failure. Pin
CPP_Student4-Aug-06 9:11
CPP_Student4-Aug-06 9:11 

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.