0
내가 디버거가 오류와 함께 종료 것을 실행하면 새복사 부분은
void match(char* probe, char* pattern)
char* matchText;
//the char-array probe in this example is at least 12 characters long
//I'm only writing numbers in the strncopy-command to make it easier to understand
strncpy (matchText, probe + 5, 5);
에 문자 배열의 일부를 복사 할 실패합니다. 내가 뭘 잘못하고 있니?
어떤 오류가 있습니까? 배열이 제대로 할당되어 있습니까? – Imp