Turbo C and Clipper
Tom Leylan
tleylan at pegasus.com
Sun Dec 9 20:15:32 AEST 1990
In article <1650 at ciss.Dayton.NCR.COM> dgrimmer at ciss.Dayton.NCR.COM (Dave.Grimmer at Dayton.NCR.COM) writes:
>
>I am looking for a way to do some trig functions (cos, sin, tan, ...)
>from within a CLIPPER application. The version I am using is Summer 87.
>
>Are there any Clipper libraries around that have the trig functions?
>
>I have tried writing the function with Turbo C 2.0, but I get 3 unresolved
>external references when I link (this works with integer functions, but
>I think there is a problem when you use a double data type). Has anyone
>written a C function for CLIPPER that uses a double data type?
>
Dave... Turbo C with Clipper is possible but not recommended. The preferred
flavor is MSC 5.1. I use QuickC 2.5 but like Turbo users I am therefore
not permitted to use the floating point routines. Probably pretty handy
when it comes to trig functions.
There is a document on NANFORUM on Compuserve which addresses alternative
methods of using floating point but the easiest solution remains using
Microsoft C.
tom leylan
ex-Senior Systems Analyst, Nantucket Corporation
(author of "Clipper and QuickC, An End to the Controversy", Nantucket News)
More information about the Comp.lang.c
mailing list