Hello Guys,
I have currently written a program which saves multiple groups of text information in a file. However I am having trouble in finding a way to load an individual piece of a record into a string, where the record which which the String is taken from depends on user input.
Here is one of the records from the text file.
For example: The user enters "Manchester" and The percentage "50" is loaded into a string.
I have currently written a program which saves multiple groups of text information in a file. However I am having trouble in finding a way to load an individual piece of a record into a string, where the record which which the String is taken from depends on user input.
Here is one of the records from the text file.
Code:
[Manchester]
Date=30/03/2014
Transactions=6000
Customers=12000
Percentage=50