copy char* array in local variable
C++ newbie.
I have following class and its argument is char* which is array of
strings, How do I copy that to member variable char* ? After that I need
to know the size of array ?
class TestParam {
public:
char*[] arr;
TestParam (const char* Pre, char* Post[]){
arr = Post;
}
};
No comments:
Post a Comment