I'm working on a program in c++, and I've come up against a problem that I can't figure out. I don't imagine that it's too difficult to solve, but it has been giving me trouble.
What I would like to do is create an array of strings. More specifically, I would like to create an array of char* 's. And the only catch is that I will need to pass the array by reference to several methods. Although from my understanding of pointers, I imagine that this is how things are done inherently in c++.
I would really appreciate if somebody could give me a snippet of code where an array of char* is declared and assignments are made. I've looked all over, but haven't had any success in finding anything.
Bookmarks