plz send the c or c++ code for the following problem:

pitfills of the Newton-Rapson method for the equation f(x)=x10-1

As far as I understand your question you should take care that f'(x) doesn't
become equal to zero (or very near to it). (f'(x) is the derivative of f w.r.t. x).