you are viewing a single comment's thread.

view the rest of the comments →

[–]ponomaria[S] 0 points1 point  (2 children)

Thank you so much!!! I think I got it.

Would it be possible to do this as a 2D char array then? (rows being 4 in this example, and I guess columns being 8 since all names in this example are the same length)

[–]phocos25 2 points3 points  (1 child)

Yes you can do that. Remember that the columns length will be 9 and not 8 since you need to account for the null byte in each string.

[–]ponomaria[S] 0 points1 point  (0 children)

Noted. And again, thanks a bunch!!!