how can i parse between blank lines in a file to separate paragraphs between the white lines?

Recommended Answers

All 2 Replies

I guess by
Reading lines that are not blank and stopping when a blank line is read.
Process the lines read.
Start again.

Read the input file into a char array.
Search through the char array for 2 consecutive \n\n ...

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.