×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tomasz SkorÅa wrote:
I know how to read file as stream , but how in simple and smart way read
this file "row" by "row". Have you any example code?
Tomek, From my not very good memory, I think there is a parameter for
the file open that you specify to open it in ASCII mode. If I remember
correctly, all that really does is make the system aware of the record
delimiters, and when set you can read and write records like you want.
You may need to play games with the first byte. I dimly recall the first
byte containing the 2nd (LF) byte. Sorry this is vague. I hope it points
you to something useful. I usually read in binary mode and parse the
records myself.
- --
Pete Hall
pete@xxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkvFBcQACgkQXczQcKdXKg7J7wCgiJdHaWwop4iQx1nAy9veDjLf
iHIAnRrQjgH+WRLm8Y3/IrGhSp3zP1GT
=AaDz
-----END PGP SIGNATURE-----
As an Amazon Associate we earn from qualifying purchases.