Hi, i am trying to get one char array to be assigned to another.
I have a struct called root which has a field called num, this is a char array of length 12.
One function i have tries to double the length of the char array by creating a new one double the size and copies everything in the first array into the new one, as well as some more chars. At the end i try:
but this won't compile, i get incompatible types in assignment!Code:root->num = newNum ;
any help would be great, i'm quite new to C so be nice :P
-ed