|
From: Reid T. <rei...@at...> - 2009-09-18 20:27:42
|
On Fri, 2009-09-18 at 16:48 -0300, co...@di... wrote: > Hi, > > how can I read one by one line from a file? one way would be to use fgets google for some examples > > The matrix is double but should I compare what I am reading with '\r' > or '\n', how if they're different types? > > > I've tried fread but I have to define how many bytes I'm going to read > (isn't it?) but the size > > > of the matrix is dinamicaly allocated. > > Tks in advance for any help. > > Maria > > |