Printable View
Quote: Originally Posted by dcwang3 Code: r1=(B+sq)(.5); r2=(B-sq)(.5); here is my final work, but the thing is my complier says: 100: error: called object is not a function 101: error: called object is not a function Any idea? C does not have implicit multiplication.
r1=(B+sq)(.5); r2=(B-sq)(.5);
I dont know what you mean by that, I tried (1.0/2.0) like I did above when I multiplied, and it gave me the same error....
Quote: Originally Posted by dcwang3 I dont know what you mean by that Look at the code I quoted (which, conveniently, is also the lines pointed out by your compiler). Why do you think that Code: something(.5) is all of a sudden not a function call, but an implicit multiplication by .5?
something(.5)
ok awesome, I fixed it and it works great, thanks for all the help!!!