Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-26-2010, 05:21 AM #1
- Join Date
- Nov 2010
- Thanked 0 Times in 0 Posts
Reading and manipulating textfile contents
HI there! I would like to ask how to store textfile contents into a variable or collection(array, vector), using tree structure is also welcome.
Here is a sample textfile content. I already managed to read the file and display its contents but it displays as is. I would like to know how to get the parameters in-between the tags and store or display it. In example the first phonebook entry in the textfile which is "1" for ID, "Ian" for Name, "09167419966" for contactnumber and "email@example.com" for e-mail.
Thanks you for your help