hi i'm not really expert in programming with c++, I don't if is possible but con i get a function to return a char array as the return value.
thanks
hi i'm not really expert in programming with c++, I don't if is possible but con i get a function to return a char array as the return value.
thanks
>but con i get a function to return a char array as the return value.
No. You can return a pointer to a char array, or a pointer to the first element of a char array, but not a char array itself. Most of the time, the answer to this question is to return a pointer to char. Just be sure not to return a pointer to an array declared in the function that returns it.
My best code is written with the delete key.
thanks i didn't think of that, that's why c++ is cool there's always a way