bigshooter
Platinum Member
I have a program where i input a character array in main, then i pass that to a function, create a new array with a code based on the old array, and then return the new array to main so that it can be output. I'm getting "return to `char' from `char *' lacks a cast" when i compile. I know cast has something to do with pointers, and an array is basically a pointer to a chunk of memory, but i'm just now getting back into c++ and can't figure this out. If anyone can help I can email you the source code, or send it to you over some type of IM, because posting it here would be too long. THanks.