Click here to Skip to main content
15,925,081 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListView Pin
ivax28-Feb-05 20:39
ivax28-Feb-05 20:39 
GeneralRe: CListView Pin
David Crow1-Mar-05 2:55
David Crow1-Mar-05 2:55 
QuestionHow to get the application's full path and file name at run time? Pin
Anonymous23-Feb-05 2:15
Anonymous23-Feb-05 2:15 
AnswerRe: How to get the application's full path and file name at run time? Pin
David Crow23-Feb-05 2:30
David Crow23-Feb-05 2:30 
AnswerRe: How to get the application's full path and file name at run time? Pin
BadJerry23-Feb-05 2:31
BadJerry23-Feb-05 2:31 
AnswerRe: How to get the application's full path and file name at run time? Pin
James R. Twine23-Feb-05 2:38
James R. Twine23-Feb-05 2:38 
GeneralProblem with CGridCtrl with combo box Pin
Bob Stanneveld23-Feb-05 1:55
Bob Stanneveld23-Feb-05 1:55 
GeneralHelp needed! Pin
Member 25547123-Feb-05 1:44
Member 25547123-Feb-05 1:44 
Hi,

Can you please get me the answers for the following questions

1. VTABLE lies in what part of the memory? Isit in Stack, Heap or Datasegment?
Is VTABLE created at compile time or at runtime?

2. Whats the exact diff. between Abstraction and encapsulation?

3. There is base and derived class, Say there is a virtual fn Draw() in the Base class and its not overrided in the derived class. Now the object for the derived class is created and stored in the base class pointer. Now call the Draw() fn via the base class pointer. The base class Draw() is called as there is no implementation in the derived class.
Internally, two VTABLEs are created one for base and other for derived class. How internally the compiler calls the base class Draw() fn. How does this work wrt the VTABLE?

4. Where class member fn are stored in memory and how the compiler makes a call to these member fns?

5. What are the things the parent and child thread doesn't share?

6. Say, char* pstr = "Helloworld";
Now reverse the string pstr without using any temp variable? When we cout the pstr it should Helloworld should be reversed?

Thanks in advance.


sarathymail
GeneralRe: Help needed! Pin
David Crow23-Feb-05 2:31
David Crow23-Feb-05 2:31 
GeneralRe: Help needed! Pin
Steen Krogsgaard23-Feb-05 2:42
Steen Krogsgaard23-Feb-05 2:42 
GeneralRe: Help needed! Pin
Steen Krogsgaard23-Feb-05 2:32
Steen Krogsgaard23-Feb-05 2:32 
GeneralRe: Help needed! Pin
Ryan Binns23-Feb-05 17:11
Ryan Binns23-Feb-05 17:11 
GeneralRe: Help needed! Pin
Steen Krogsgaard23-Feb-05 21:46
Steen Krogsgaard23-Feb-05 21:46 
GeneralRe: Help needed! Pin
Ryan Binns24-Feb-05 12:38
Ryan Binns24-Feb-05 12:38 
GeneralRe: Help needed! Pin
Steen Krogsgaard24-Feb-05 22:18
Steen Krogsgaard24-Feb-05 22:18 
GeneralRe: Help needed! Pin
Ryan Binns25-Feb-05 1:06
Ryan Binns25-Feb-05 1:06 
GeneralHandling messages in another class Pin
tttyip23-Feb-05 0:25
tttyip23-Feb-05 0:25 
GeneralRe: Handling messages in another class Pin
RChin23-Feb-05 0:51
RChin23-Feb-05 0:51 
Generalmerge some cells from the same row in CListCtrl Pin
catalin buj23-Feb-05 0:14
catalin buj23-Feb-05 0:14 
GeneralRe: merge some cells from the same row in CListCtrl Pin
bitpusher23-Feb-05 9:56
bitpusher23-Feb-05 9:56 
GeneralRe: merge some cells from the same row in CListCtrl Pin
catalin buj23-Feb-05 22:19
catalin buj23-Feb-05 22:19 
GeneralProblem with metafile-playback in print preview Pin
Christian Waluga22-Feb-05 23:35
Christian Waluga22-Feb-05 23:35 
GeneralRe: Problem with metafile-playback in print preview Pin
Christian Waluga23-Feb-05 22:15
Christian Waluga23-Feb-05 22:15 
GeneralUse C++ written class in VB Pin
Logan from Singapore22-Feb-05 23:33
Logan from Singapore22-Feb-05 23:33 
GeneralRe: Use C++ written class in VB Pin
ThatsAlok22-Feb-05 23:52
ThatsAlok22-Feb-05 23:52 

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.