Maybe unrelated, but: shouldn't this
> fp = fopen ("phi.txt","r"); be fp = fopen ("phi.txt","rt"); ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/