From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,2ad0cce840eb4b84 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-03-06 04:42:06 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!codeine.org!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail From: Mark Garrett Newsgroups: comp.unix.tru64 Subject: Re: newbie using cxx on tru64unix Organization: Garetech Computer Solutions Message-ID: References: <9844u4$5b8$1@net44p.hkbu.edu.hk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Tue, 06 Mar 2001 12:49:13 GMT NNTP-Posting-Host: 144.132.244.163 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 983882953 144.132.244.163 (Tue, 06 Mar 2001 23:49:13 EST) NNTP-Posting-Date: Tue, 06 Mar 2001 23:49:13 EST Xref: supernews.google.com comp.unix.tru64:1783 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 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 > > 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