📅  最后修改于: 2022-03-11 15:04:34.185000             🧑  作者: Mango
代码示例1
char string[] = "1234"; // The string you want to convert to size_t.
size_t i;
sscanf(string, "%zu", &i);
// i == 1234