CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 28

Threaded View

  1. #7
    Join Date
    Apr 1999
    Posts
    27,449

    Re: How to create a pointer to 'this'?

    Quote Originally Posted by nuzzle View Post
    It's only because you haven't been using the object oriented (OO) programming paradigm.
    ???
    I have been using it for a very long time. You can't use C++ for over 15 years professionally without using it.
    In OO, objects are less managed from the outside. Instead they're managing themselves and then the this pointer becomes a more prominent figure.
    Did you read the requirements of the OP? He or she wants to somehow use for some reason a pointer to the this pointer. I know exactly why the this pointer is used -- the question is why would anyone need a pointer to the this pointer. The OP is obviously getting Java and C++ mixed up.

    Regards,

    Paul McKenzie
    Last edited by Paul McKenzie; January 19th, 2010 at 06:26 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured