Answer the question
In order to leave comments, you need to log in
How to run a substring through a string to the end?
I use this code
int N 8;
char str_[N + 1];//подстрока
str_[N] = '\0';
unsigned char* buffer;//строка
int i = 0;
while (i<=strlen((char*)buffer))
{
strncpy_s(str_, (char*)(buffer+i), N);
i += 8;
}
Answer the question
In order to leave comments, you need to log in
Problems in the code:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question