| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: C++ |
From: Ellen K.
In VB you can pass a user-defined type (VBSpeak for a struct) as a
parameter, no problem.
On Mon, 8 Nov 2004 19:11:00 +0200, "Antti Kurenniemi"
wrote in message :
>"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.
>
>
>Antti Kurenniemi
>
--- 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™.