<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I don't believe the casting is necessary. Just add a decimal point to
those literals and you'll have doubles.<br>
<br>
Paul wrote:
<blockquote cite="mid1093934661.6811.78.camel@T7.linux" type="cite"><br>
<hr size="4" width="90%"><br>
<table class="header-part1" border="0" cellpadding="0" cellspacing="0"
width="100%">
<tbody>
<tr>
<td>
<div class="headerdisplayname" style="display: inline;">Date: </div>
Tue, 31 Aug 2004 02:52:56 -0400</td>
</tr>
</tbody>
</table>
<br>
<pre wrap="">
<hr size="4" width="90%">
Hi,
</pre>
<blockquote type="cite">
<pre wrap="">[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
</pre>
</blockquote>
<pre wrap=""><!---->
Without seeing the source, how is a chap to know what you're doing?
TTFN
Paul
</pre>
</blockquote>
</body>
</html>