I understand how to dynamically allocate memory, I am just getting a little bit confused when it comes to doing it for a 2d char array. How do I go about doing this?
Can I ask why it HAS to be 2D? Usually you can get away with using a 1D array for the same purpose. Or is this academic and you don't actually have a project in mind?