- %@ Object
- %d, %i signed int
- %u unsigned int
- %f float/double
- %x, %X hexadecimal int
- %o octal int
- %zu size_t
- %p pointer
- %e float/double (in scientific notation(科学计数法))
- %g float/double (as %f or %e, depending on value)
- %s C string (bytes)
- %S C string (unichar)
- %.*s Pascal string (requires two arguments, pass pstr[0] as the first, pstr+1 as the second)
- %c character
- %C unichar
- %lld long long
- %llu unsigned long long
- %Lf long double
- ===================
格式化输出符%@%d等等
最新推荐文章于 2023-04-11 18:32:33 发布