Hi,
how can i save the text from a file in a 2d array?
For example the file will be like:
ebjevjhb tgbvtrjk trjgbj
tgrrktgtr kgtrl tkltrg t
feg ergfern gn sdcx xssw
And i want to save this in a char 2d array like:
char str[3][100]
so
str[0]="ebjevjhb tgbvtrjk trjgbj"
str[1]="tgrrktgtr kgtrl tkltrg t"
str[2]="feg ergfern gn sdcx xssw"
Thanks in advance.