TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: John Dumas
from: Bo Simonsen
date: 2004-04-10 00:27:44
subject: Re: [C] Return statement

Hi John,

 jd> Can I make a statement, that works like a function? Any simple examples?

I C++ you can do some operator overloading like

obj1 = obj1 + obj2;

Where + means something you declare by your self.

I bet this is the closest we get to your question.

Bo


--- Maximus/UNIX 3.03b
* Origin: =====> The Night Express <===== (2:236/100)
SEEN-BY: 633/267 270
@PATH: 236/100 237/9 20/11 106/1 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™.