replacing pieces of string
问题 i'm doing something like excel, i have something like this: 1 2 3 A1 B1 C1 where it replaces the content for specified content, where A1 replaces the content for 1. B1 replaces the content of 2...and etc... i'm using a multidimensional array, and i do the things like this: int offset = 0, readCharCount; while(sscanf(matris[i][c] + offset, "%c%d%*c%n", &col, &linha, &readCharCount) == 2){ //printf("%c, %d\n", col, linha); //strcpy(matris[i][c], matris[linha-1][col - 'A']); offset +=