And I want to open that file and store it in a 2d dynamic array. This is in the function main creating the dynamic array (dont ask why its dynamic even though its defined, idk why):(https://imgur.com/a/k0W2189 )
Here is opening the file, processing it, and (trying) to put the content into the array:(https://imgur.com/a/orA2Atq )
And the second part of my question is how would I display that array to the user? This is what I have for that function:(https://imgur.com/a/11cHp2K )
So, first you create a dynamically allocated 2d array, then open the file you want, then you read the information from the file and put it into you array. I assumed the your file has 8 lines and 8 columns as the image shows. If is not like that, you can change it fairly easy. Finally, you close the archive and free up the memory you allocated for your array. Thats it I guess, any doubt?