For this simple example, you can use the format specification sequence % s in your FormatString to indicate that a string substitution should occur.
对于这个简单的示例,可以在FormatString中使用格式定义序列% s,表示应该进行字符串替换。
send_message; this means that the parameters are an int, a char* (s for string), and an int; and that if an exception is thrown, the function is called TrayIcon.send_message.
这意味着参数依次是 int 、 char* (s 表示字符串)和 int ; 而且如果抛出一个异常,则该函数称作 TrayIcon.send_message 。
Compare this to Listing 1 where the result of key lookup is immediately narrowed down to the desired string by selecting s: name children.
与清单1相比,在清单1中,通过选择s: name子元素,就可以立即将查找结果限制为目标字符串。
This year's performers include Elvis Costello,David Byrne and the Yonder Mountain String Band.
VOA: special.2009.06.08
s1 It's a little square, it's going to be called s1 and that's what exists as of line two of this program, GetSting but now I've called get string.
这是一个正方形,叫做1,这就是程序中第二行代码所表示的,现在我调用。
0 And we'll also see backslash 0 which is actually the special character that's used at the end of a string to say no more string after this point in memory.
还有0,用于存储器中字符串末尾,表示在此之后就,没有字符了。
应用推荐