hetman
08-14-2002, 01:04 PM
just wondering if anyone can help me out.
i want to read a text file into an array, so that each line in the text file in in an array, ex:
text file:
blah1
blah2
blah3
array:
myarray[0]="blah1"
myarray[1]="blah2"
myarray[2]="blah3"
is that possible?
btw... the language is C
i want to read a text file into an array, so that each line in the text file in in an array, ex:
text file:
blah1
blah2
blah3
array:
myarray[0]="blah1"
myarray[1]="blah2"
myarray[2]="blah3"
is that possible?
btw... the language is C