Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!tikal!hplsla!jima From: jima@hplsla.HP.COM ( Jim Adcock) Newsgroups: comp.lang.c Subject: Re: Power operator? Message-ID: <5260001@hplsla.HP.COM> Date: 8 Jan 88 23:04:12 GMT References: <47000029@uxe.cso.uiuc.edu> Organization: HP Lake Stevens, WA Lines: 2 Don't use ANSI-C, use C++, and overload the -> operator. Then you can write: twoToTheTenth = 2.0->10.0;