this keyword

Home Forums C Programming this keyword

  • This topic has 1 reply, 2 voices, and was last updated 14 years ago by Anonymous.
Viewing 1 reply thread
  • Author
    Posts
    • #1899
      Anonymous
      Inactive

      can anyone please tell me the difference between “this” keyword and “VPTR”???
      Happy Programming,
      Genetic.

    • #3143
      Anonymous
      Inactive

      Hi

      You should find the information you need here:-
      http://www.codeguru.com/cpp/tic/tic_c.shtml

      The this pointer indentifies the object instance that called a function whereas VPTR seems to be similar in construction but applies to virtual functions and has to do with binding…

      Good luck on that one :)
      MegaC

Viewing 1 reply thread
  • You must be logged in to reply to this topic.