Multi Dimensional Arrays [2D]
My sister is in College taking C, CPP, VB , ASM, HTML and a list of other languages. Currently she is working on a work project she can't seem to get 100%, she would like to import a file into a the application as a multi dimensional array (2D), if she can get that correctly , she can finish the problem with ease, but with my VERY limited C knowledge and the apparent differences between my basic C++ knowledge and the specific needs of this project in C, it is far out of my scope to help her out.
Example of what she needs to do.
{I am avoiding the Exact example so there is only help & no direct answers}
{so there will be some arbitrary information negated}
If a text file is comprised of 8 by 8 Square.
11111111
22222222
33333333
44444444
55555555
66666666
77777777
88888888
She needs that information imported into (print) the application as is {exactly} as a multi dimensional array, not a single array or string.
The placement of each char in it's exact location ("x,Y") is very important {which she can figure out} once it is imported correctly, this way if we look at the following example
1#######
#######5
8#######
######4#
####7###
##2#####
######3#
6#######
& she needed to get the location of 7 (in the array, position 5,5) she could.
Thanks for the help, if the information is enough.
Example of what she needs to do.
{I am avoiding the Exact example so there is only help & no direct answers}
{so there will be some arbitrary information negated}
If a text file is comprised of 8 by 8 Square.
11111111
22222222
33333333
44444444
55555555
66666666
77777777
88888888
She needs that information imported into (print) the application as is {exactly} as a multi dimensional array, not a single array or string.
The placement of each char in it's exact location ("x,Y") is very important {which she can figure out} once it is imported correctly, this way if we look at the following example
1#######
#######5
8#######
######4#
####7###
##2#####
######3#
6#######
& she needed to get the location of 7 (in the array, position 5,5) she could.
Thanks for the help, if the information is enough.

