If you look again at my original post on this, you can see the source.
It's your source.
Explicitly converting constants to doubles per Ed Hill's suggestion
allowed the code to compile without error and run.
On Tue, 2004-08-31 at 02:44, Paul wrote:
> [rlc@bobcp4 cpp]$ g++ -Wall -pedantic -o tsine tsine.cpp
> tsine.cpp: In function `int main()':
> tsine.cpp:8: error: call of overloaded `sin(int)' is ambiguous
Without seeing the source, how is a chap to know what you're doing?