Mail Archives: djgpp/1999/06/22/07:50:11
This is a multi-part message in MIME format.
------=_NextPart_000_01BEBCB0.41A438A0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Thanx bunches on the screen copy stuff.. Next question: (sorry:)
How can you determine where in a file you are (declared by eg.
FILE *infile;) fseek does know where to look (for its relative move)
but I can't find the definition of FILE, nor the code for fseek().
Is there a way that doesn't mean fseeking a lot, (fseek relative +1,
testing for EOF, then absolute fseek to 0, and do it again, to see
where in the file you must fseek you were and must return to)
wasting a lot of time?
-Bart
------=_NextPart_000_01BEBCB0.41A438A0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 =
color=3D"#000000" face=3D"Arial"><br>Thanx bunches on the screen copy =
stuff.. Next question: (sorry:)<br>How can you determine where in a file =
you are (declared by eg. <br>FILE *infile;) fseek does know where to =
look (for its relative move)<br>but I can't find the definition of FILE, =
nor the code for fseek().<br><br>Is there a way that doesn't mean =
fseeking a lot, (fseek relative +1,<br>testing for EOF, then absolute =
fseek to 0, and do it again, to see<br>where in the file you must fseek =
you were and must return to)<br>wasting a lot of time?<br><br>-Bart</p>
</font></body></html>
------=_NextPart_000_01BEBCB0.41A438A0--
- Raw text -