覺得sprintf 的方式雖然type-unsafe ,但是輕量、快、又好用。 ... char buf[256] = {}; int nWritten = snprintf(buf, 256, "%s has %d %s(s).
確定! 回上一頁