Hi,
This is a very simple question. Is it possible to print a one dimensional array into the shape of a grid?
For example if I have the follow array:
chars arrayofChars[] = {'A', 'B', 'C', 'D', 'E'...};
how can it be printed out as
A B C D
E F G H
I J K L
...
I can print it out as a 2d array but prefer to use a 1D array if possible.
Any suggestions will be great.
Thanks,
Kimjack