0

Hi there!
I am new to daniweb.com and C++ CLI. I am trying to make a program that will tell the user the text for the ListItem number they type in. The ListItem information is stored in a text file with my custom file formatting, which is:

<~ListItem 1> text.... <~EndOf 1>
<~ListItem 2> text.... <~EndOf 2>
etc.

I have been thinking of a strategy for days, but I can't find out anything.
Thank you very much in advanced!

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

Thanks for the reply, but I am not sure how to check if the line ends with <~EndOf (No)>
The psuedo code for what I want to achieve:
File find <~ListItem + " " + no + > + string + <~EndOf + no + >
And replace it with <~ListItem + " " + no + > + newstring + <~EndOf + no + >
Thanks.

Edited by ar123

This question has already been answered. 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.