On Fri, 5 Nov 2010, Arthur Bela <jozsi.avadkan@gmail.com> writes: > Does anyone has a "generate-pi.c" source code? Answer to your homework is here[1]. Also you can find a couple million digits of pi as a text file on the web. Regards. [1] http://en.wikipedia.org/wiki/Pi#Estimating_.CF.80