ok, I haven't messed with c++ in quite a while and frankly I just can't remember how to do this, I'm working on this for work and basically here is what I need to do
I have a txt file with numbers in it that is generated from input from a machine in an array type style 20 accross and 30 down so:
2 3 14 38 22........
4 53 4 33 21...
.
.
.
.
and so on, I need to read these numbers into a 2 element array that is just like its set up so I am able to access each individual number by a row and collumb. i know this isn't very hard, I've done it before but I just can't seem to remember how.
I appreciate anyones help
I have a txt file with numbers in it that is generated from input from a machine in an array type style 20 accross and 30 down so:
2 3 14 38 22........
4 53 4 33 21...
.
.
.
.
and so on, I need to read these numbers into a 2 element array that is just like its set up so I am able to access each individual number by a row and collumb. i know this isn't very hard, I've done it before but I just can't seem to remember how.
I appreciate anyones help