square function

From: Aaron Gallimore (postmaster_at_aggallim.plus.com)
Date: 03/31/04


Date: Wed, 31 Mar 2004 10:09:28 +0100

Hi,

can anyone tell me if there is a square function in C++? it just saves me
writing one.

i.e. square(int) = int x int;

Thanks
Aaron