AmigaActive (1201/1338)

From:Jim Cadwallader
Date:29 May 2001 at 16:30:44
Subject:Re: C Books

Hello David

On 29-May-01, you wrote:

> examples using "float" variables and for some odd reason DICE outputs
> "<float>" instead of the value!! Other data types output correctly, i am
> compiling by typing "dcc test.c" then running "test".
>

I think with Dice you need to link with the math libraries using the
-lm
switch e.g. "dcc -lm test.c"

Regards

Jim Cad*

Quote carefully and read all ADMIN:README mails

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/