thanks
georgemarios
Posts
-
is it stack or heap? -
is it stack or heap?possibly a dump question, but better be safe.... if I have a class like this:
class Foo { std::vector vectorWithFoo2; };
and then allocate a pointer of FooFoo* pFoo = new Foo;
the pFoo is allocated in the heap, right? Now, each time I push_back a Foo2 into the vector, is it stored in the stack or the heap? I think its the heap but I wanted to be sure... -
Damn that 4kbytes of leak memoryI suppose that you dynamically allocate the list array before calling ImprimeTexto, and then you forget to deallocate it.
-
About Doc/View relation : Vc++ _Plz Helpthanks for the 5 well, think of a 3d modeler like 3dmax you have the same doc shown in 4 diferent views (top, left, front and perspective). Its still the same document. Many views at the same time doesn't make the app MDI, MDI=multi-doc interface.... A splitter can be used in both SDI and MDI. The difference is that in SDI you put it in CMainFrame whereas in MDI you putit in CMDIChildWnd. Still, I may be wrong. Please, somebody correct me...
-
About Doc/View relation : Vc++ _Plz Helpooops, my mistake certainly, you can have several views of the same doc in SDI at the same time (using splitters for example)
-
About Doc/View relation : Vc++ _Plz Helpone Doc can have many views one View can be associated with only one doc one App can have many docs. If the app is SDI, can display only one view of one doc at a time If the app is MDI, can display many views of many docs at a time