From: Mark Garrett <Mark.Garrett@wedontwantyourspam.com.au>
Subject: Re: newbie using cxx on tru64unix
Date: Tue, 06 Mar 2001 12:49:13 GMT [thread overview]
Message-ID: <B6CB251A.12C0D%Mark.Garrett@wedontwantyourspam.com.au> (raw)
In-Reply-To: 9844u4$5b8$1@net44p.hkbu.edu.hk
in article 9844u4$5b8$1@net44p.hkbu.edu.hk, Pui Ming WONG at
s11976@net2.hkbu.edu.hk wrote on 07/03/2001 13:03:
>
> sorry a few trivial questions (to answer one user
> trying to compile a test c++ program on our alpha)
>
> 1. Is it necessary to load cmath library to call function
> to raise a number to a certain power
> i.e. place line
> #include <cmath.hxx>
We don't have a special set of c++ heads like your example .hxx instead all
of the standard C header files have conditionals to handle being included
into either C or C++ just #include <math.h>
>
> in the program
> (or it is built in there already ?)
> 2. Is the function called
> pow ?
> (if not, what is it?)
If you don't have a system then I excuse your lack of attempts to answer
such a question, otherwise RTFM :)
man pow
Cheers
Mark :)
ps.
yes there is a pow function include math.h and link in libm.a
next prev parent reply other threads:[~2001-03-06 12:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-07 2:03 newbie using cxx on tru64unix Pui Ming WONG
2001-03-06 12:49 ` Mark Garrett [this message]
2001-03-07 16:17 ` Marble Head
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox