Filling a 2-d array from file

Hello I have a project where I have to implement a seat reservation system for a passenger airplane. I'm required to use a function to read the file "chartIn.txt":

1 A B C D
2 A B C D
3 A B C D
4 A B C D
5 A B C D
6 A B C D
7 A B C D
8 A B C D
9 A B C D
10 A B C D

and fill a 2-d array with this information, but I am unsure of how to do this.

Thanks in advance for help!
Topic archived. No new replies allowed.