|
From: Carlos d. M. <cg...@wo...> - 2002-09-13 19:05:27
|
With an experiment with a text editor made with a simple edit control, I've found some files, like winerror.h, where the text displayed has no new ines, instead it has a giant line with vertical bars where the newline should be. I tried write a small program which reads the file until the second line has begun and returns each character behind the numeric value, but in the new line it puts in the console the value 10, which is the usual of the newline. And in other place I found that some file has value 13 where the newlines are, so now I test for one of them and change to the other, but that doesn't solve the problem, what it makes is that all files has a vertical bar where the newline should be, and I don't find the way to make the program show newline in those places. Any idea? Thanks. |