Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,080 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,591 people online right now. Registration is fast and FREE... Join Now!




to retrive a string present in between file

 
Reply to this topicStart new topic

to retrive a string present in between file

raghav_engg
22 Apr, 2008 - 02:26 AM
Post #1

New D.I.C Head
*

Joined: 22 Apr, 2008
Posts: 3

Hi

Please help me out that i want to retrieve a string present in between file

For eg:

if there are 10 lines in file i started retrieving from 3rd line but i should print only up to 7th line.

if i use
CODE
if(in.contains("<search string>")
it starts from that particular line but i don't know how to stop in particular line.

Please help me out...

Thanks in advance......
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 07:29PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month