0

i want to read data from file. I have test.txt. In this i have data

a:123
b:223
c:323

how can search 'b' and get the data 223 and so.

I found some where that i can go via getline and than tell and for data grabing seek.
but i do not know.how to use.

2
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by tungnk1993
0

You're welcome. You can always learn more functions from cplusplus website, it's a very comprehensive site :)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.