have a simple question about working with files . when Im reading a txt file like this example
Hello how are you.
fine thank you.
when I read it how can I find out there was an endline or not ?
kshahnazari
0
Newbie Poster
Recommended Answers
Jump to Postwhen I read it how can I find out there was an endline or not ?
How do you plan to use that information once you get it? That will somewhat determine what method you use. For example, you can run through the file character by character and …
All 2 Replies
NathanOliver
429
Veteran Poster
Featured Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
NathanOliver
commented:
Thanks for the clarification
+10
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.