Monday, November 17, 2003

re: hey guys!

Yeah neither of us have posted on blogs before either. So it's a first time for all of us.

I think there is a way to send an e-mail everytime someone posts, but what if we have several posts in one day? You'll get a whole bunch of emails. Quite annoying.

Regarding the "this" pointer. Yeah, I guess you're right. Actually, every instance method of a class has the "this" pointer as an argument. You just don't see it. It is passed in implicitly by the compiler. I think this is the way they connect methods to objects.

I use the "this" pointer in my code whenever I'm referring to data members of a class. I guess it's a coding standard I've adopted. Helps to differentiate between local and instance members.

No comments: