iPhone开发 关于格式化的类型
来源:未知 责任编辑:智问网络 发表时间:2013-09-03 12:18 点击:次
%@ 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
摘自 凡娃软件
相关新闻>>
- 发表评论
-
- 最新评论 更多>>