Basic question about Srings in C
Posted on 2001-07-10
I have some compile error here
memcpy(str, "aaaaa" + "bbbbb\0",10);
printf("here is the concated line %s",str);
error c2110 :cannot add two pointers
I programing in some environment(AS/400) and I have to port from Win32 this line :
the problem is that length of line in this environment limitted to 80 chars, so what have I do ?