|
|
вернуться в форумRe: why compilation error? [code deleted] Just wanna say it works pretty well on my mashine ;) Edited by author 14.06.2006 02:24 Edited by moderator 14.06.2006 16:24 Re: why compilation error? Послано KAV 14 июн 2006 16:22 Replace sqrt(5) with sqrt(5.) or sqrt( double( 5 ) ) because there is an ambiguilty, what type to the compiler should convert an integer. Re: why compilation error? Yup, 10x, you`re right. Btw, to all c++ coders who've made this problem, how did you cope with accuracy ? |
|
|