home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_07
/
1007054c
< prev
next >
Wrap
Text File
|
1992-05-06
|
128b
|
10 lines
istream &operator>>(istream &is, rational &r)
{
long n, d;
if (is >> n >> d)
r = rational(n, d);
return is;
}