char * to char array

Hello all, i'm kind of new to c++ and need some help.
ok, so I have a function that returns a char pointer.
I want to copy the array of chars that it points to into another array
can you show me the code needed to do this, thx :)
Last edited on
is there any other way to do, without using a function?
Use a for loop.
Topic archived. No new replies allowed.