Hi, the problem I am trying to solve goes as follows:
I am given a txt file with the following values:
I spaced it so you can see what I am talking about.Code:251 383 346 209 432 232 342 909 423 102 238 203 23 34 33 93 88 90 38 48 76 54 56 49
I would like to store the values into a 7 X 4 array, but my problem is I do not know what to do with the blank values. (The values can not be set to 0) Is there essentially a way to store those blanks values so that they do not count? Also I need to be able to accept various input files not just the one given. (Other input files may have blank spaces as well).
Thank you a lot for your time and help.
[code][/code]tagged by Salem
To show spaces in the file