Hi all.. i have a text file it names "person.txt" ...
This is content of person.txt :
***********
m 25 68
g 35 55
g 23 65
m 19 56
m 40 75
***********
if first line is "m" i should create man object, if first line is "g" i should create girl object... other lines show me respectively age and weight.
How can i slove this problem ??