home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_05
/
1005092a
< prev
next >
Wrap
Text File
|
1992-03-09
|
119b
|
9 lines
Listing 4
ostream &operator<<(ostream &os, rational r)
{
os << '(' << r.num << '/' << r.denom << ')';
}