I have some images 100x100 pixels and save the value of pixels in *.txt file.
I have to use this txt files as input for iteration. But I don't know how to make the code to recognize the numbers in txt file as a matrix, and iterate it with another txt file. In txt file, the numbers actually lined up as 100 columns and 100 rows. How to make for example A.txt as input for matrix A, and the number in the first column and the first row as A[1][1], or A[1].
Please, help me. I don't familiar with the langguange. But I have to use C++..
Thank you for your help