I
Imran
hello all, I have to parse a text file and get some value in that.
text file content is as follows.
####TEXT FILE CONTENT STARTS HERE #####
/start
first
0x1234
AC
/end
/start
first
0x12345
AC
/end
/start
first
0x12344
AC
/end
someotherdatahere
####TEXT FILE CONTENT ENDSHERE #####
If user gives "first" to my program, I have to give him 0x1234. So my doubt
is, how can I parse text files in C++.
And in text file, I have to serach in /start and /end block.
Thanks in Adv
text file content is as follows.
####TEXT FILE CONTENT STARTS HERE #####
/start
first
0x1234
AC
/end
/start
first
0x12345
AC
/end
/start
first
0x12344
AC
/end
someotherdatahere
####TEXT FILE CONTENT ENDSHERE #####
If user gives "first" to my program, I have to give him 0x1234. So my doubt
is, how can I parse text files in C++.
And in text file, I have to serach in /start and /end block.
Thanks in Adv