TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JAMIE KOWINSKY
from: WAYNE SCHROEDER
date: 1997-09-18 02:00:00
subject: Re: cout`ing an object

*** Quoting Jamie Kowinsky from a message to All ***
JK> function simply does "cout << stuff" on a number of things, in effect 
JK> the fields of the object.
JK> Now say i have some object created with this class ex:
JK> test thing = test(....);
You can say something in the public area like
int << operator (??) { stuff }   I forget the details..
check in the overlading of operators section of your help text.. it will 
probably show the proper way.
Wayne
=[Visit the RazSoft homepage!]=[http://www.sound.net/~fileland]=
--- FMail/386 1.22
---------------
* Origin: =(Mental Floss)=(913-383-2925)= (1:280/191)

SOURCE: echomail via exec-pc

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™.