PureBytes Links
Trading Reference Links
|
William,
"a+=b" means "a=a+b"
"a/=b" means "a=a/b"
cheers
DB
----- Original Message -----
From: "William Vedder" <wvedder@xxxxxxxxxxxxxx>
To: "Omega-List" <omega-list@xxxxxxxxxx>
Sent: Wednesday, August 21, 2002 9:52 PM
Subject: Translating CPP
> Hello OListers,
>
> Can someone translate the following snippet of CPP code into english?
>
> A += Kernl * X[i+1] / X[i];
> ZSum += Kernl;
>
> } // if
> } // for i
>
> if (ZSum)
> A /= ZSum;
> else
> A = 1;
>
> What does "+=" mean?
> What does "/=" mean?
>
>
> Best,
> Bill
>
>
>
|