reading a text file and saving it in the arrays

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shakai
    New Member
    • Feb 2008
    • 2

    reading a text file and saving it in the arrays

    Hi
    I have text file. The columns in the text file are separated by whitespaces.Thi s text file consists of the floatig point values. I want to save each column in the separate array and find the minimum and maximum from each column.Number of columns and rows are not fixed and I want to write this code using c++.
    Thanks.
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    Originally posted by shakai
    Hi
    I have text file. The columns in the text file are separated by whitespaces.Thi s text file consists of the floatig point values. I want to save each column in the separate array and find the minimum and maximum from each column.Number of columns and rows are not fixed and I want to write this code using c++.
    Thanks.

    Did u read the posting guidelines before posting this.

    Raghuram

    Comment

    Working...