« Return to Thread: can't read sequential files

Re: can't read sequential files

by Larry Hall (Cygwin) :: Rate this Message:

Reply to Author | View in Thread

Alberto Luaces wrote:

> Maybe unrelated, but:
>
> shouldn't this
>
>> fp = fopen ("phi.txt","r");
>
> be
>
> fp = fopen ("phi.txt","rt");
>
> ?


It's not required, no.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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/

 « Return to Thread: can't read sequential files