xospec1alk
Diamond Member
alrite i want my java program to read a text file line by line.
for example if the contents of the file were
something
or
other
it would take the 'something' and return it to a variable. then it would take 'or' and do the same thing, and then 'other' and i have no clue how many lines there will be, so whenever it detects enf of file i suppose.
any hlep would be appreciated
for example if the contents of the file were
something
or
other
it would take the 'something' and return it to a variable. then it would take 'or' and do the same thing, and then 'other' and i have no clue how many lines there will be, so whenever it detects enf of file i suppose.
any hlep would be appreciated