TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Antti Kurenniemi
from: Geo
date: 2004-11-08 18:44:32
subject: Re: C++

From: "Geo" 

"Antti Kurenniemi"  wrote in
message news:418fa68a$1{at}w3.nls.net...
> "Geo"  wrote in message
news:418f51bf{at}w3.nls.net...
> > "Peter Sawatzki"  wrote in message
> > news:MPG.1bf827b322d0373989741{at}news.barkto.com...
> >
> >> The main difference is that functions that operate on a class are
> >> implicitly called with the self/this pointer as an invisible
"argument".
> >
> > Why is that distinction important?
>
> You can toss an object (an instance of a class) to other functions /
objects
> as a parameter, which you can't do with a main() and a bunch of other
> separate functions. That's one that comes to mind immediately.

Ok but that doesn't explain what the difference between a data type like
"int" and a class like "Date" is.

Geo.

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.