home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_01
/
1001097a
< prev
next >
Wrap
Text File
|
1991-11-17
|
145b
|
13 lines
Listing 6
//
// operator=
//
rational &rational::operator=(const rational &r)
{
num = r.num;
denom = r.denom;
return *this;
}