标签: c scanf
有人可以解释如何在以下代码中使用%25 [^;]和%* [^ ABCDF]吗?
char name[26], class[8]; int score; char grade; char record[50] = "Ross, Bob; MAC1234 85 A"; sscanf(record, "%25[ˆ;] %*c %6s %d %*[ˆABCDF] %c", name, class, &score, &grade);