Hi there,
I have to select all the characters of a string but the first and the second one.
I mean I have a variable called buffer like this:
and I need to get a variable buffer2 == ["code"].Code:char buffer = [03"code"];
Thank you in advance.
Hi there,
I have to select all the characters of a string but the first and the second one.
I mean I have a variable called buffer like this:
and I need to get a variable buffer2 == ["code"].Code:char buffer = [03"code"];
Thank you in advance.
Thank for your answer, CommonTater!
I forgot to say that my variable is actually a pointer
so i assume the answer is now:Code:char* buffer = [03"code"];
right?Code:strcpy(buffer2, buffer[2]);
I'm sorry for the inconvenience.
Thank you.