>>234
ありがとうございます。
>>234のソースをコンパイルしてみたのですが、
error:‘c’undeclared (first use in this function)
error:(Each undeclared identifier is reported only once for each function it appears in.)
とエラーが出ました。
if(c>.00001)に関してのエラーのようなのですが…