You can even use "*" as a precision specifier (such as "%.*s"), so you can pass in a maximum length instead of having the maximum length embedded in the control string.
甚至可以使用“ * ”作为精确指定符(比如“ %.*s ”),这样您就可以传入一个最大长度值,而不是在控制字符串中嵌入最大长度值。
The string resource identifier that contains the format-control string.
包含格式控制字符串的字符串资源标记。
The string resource identifier that contains the format-control string.
包含格式控制字符串的字符串资源标记。
应用推荐