This is a discussion on Counting paragraphs within the C and C++ forums, part of the Programming Talk category; I need to implement a function to count the number of paragraphs in a file. Can anybody help me please, ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi tprabhuit,
Thanks for the reply. I figured out how to count the number of paragraphs. What I had to do was, as you said count the number of \n but not only. If you count the number of \n it will give you the number of lines not the number of paragraphs. You have to search for \n\n together not only \n Once again 10x for the reply Andrew ![]() |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I need help in Counting the Records - Oracle9i Form Developer | meLady | Oracle Tutorials | 3 | 10-01-2007 04:19 AM |
| counting directories | hat123 | C and C++ | 0 | 06-25-2006 04:30 PM |