read specific line
C#
2
Posts
2
Posters
0
Views
1
Watching
-
when i open a file stream, is it possible to start reading a specific line other than reading from the beginning to end?
-
when i open a file stream, is it possible to start reading a specific line other than reading from the beginning to end?
No. The library has no way of knowing what a line is without walking through them, a newline is just another character ( well, two, but it's just data, there's no index ). Christian Graus - Microsoft MVP - C++