I want to read a file in 2d array. Basically File is like this
abcedf
ghijkl
mnoqre
Now i know the rows of files but i don't know the columns but col numbers are same for all rows. Now if i do this.
 for (int i = 0; i < row_size; i++){
 fin>>value;
 row[i]=growfunction 
 }
With this program will keep adding all file lines to first row because there is no condition so i can make it move to second row. What can i do?
Thank You for your time.
 
    