How do I fill an Array with contents of a file?
Posted on 2000-03-27
I am using Borland 5.02
I am learning from a book called c++ in 21 days, I cant find a very good example in the book, and I am having trouble initializing the array with the contents of the file.
I am trying to read data from a file with floating point variables, and fill; one array for numbers greater than Zero; and another array for numbers that are less than zero.
I get output, but it isnt correct, and I am not getting all of the file contents.