Forum Members,
Now before any recommendations to use C++ I realize this would be a lot easier with C++, but the project was already started by other members in my group. I realize this is a silly question and I can't understand why I don't know it.
I need to know how to dynamically create an array of strings size 50 characters. I know how many in the array i need, its stored in int n. So how would i use malloc() or calloc() to do this? Any help please.
-Anton
Now before any recommendations to use C++ I realize this would be a lot easier with C++, but the project was already started by other members in my group. I realize this is a silly question and I can't understand why I don't know it.
I need to know how to dynamically create an array of strings size 50 characters. I know how many in the array i need, its stored in int n. So how would i use malloc() or calloc() to do this? Any help please.
-Anton