CaptRage61
Programmer
How do you use Buffered reader to read from a file. I have a class set up with a few variables. And I have a file where every line would be a new instance of this class and there are 5 things in each line seperated by tabs. Each thing on each line would be stored in the different variables. How do I do this;
Ex:
class file
variable a, b, c, d, e;
data file:
part1 part2 part3 part4 part5
need to set a=part1; b=part2 ......
Ex:
class file
variable a, b, c, d, e;
data file:
part1 part2 part3 part4 part5
need to set a=part1; b=part2 ......