查询词典 string-galvanometer
- 与 string-galvanometer 相关的网络例句 [注:此内容来源于网络,仅供参考]
-
One way we can initialize a string is as a copy of a character string literal
其中一种初始化 string 对象的方式是作为字符串字面值的副本
-
Write a small program that requests two strings from the user and reports which string is lexicographically less than the other (that is, comes before the other alphabetically).
编写一个小程序,由用户输入两个 string 对象,然后报告哪个 string 对象按字母排列次序而言比较小(也就是说,哪个的字典序靠前)。
-
Obviously the attribute is declared as a string (hey, its stored in a text file after all), so if the property it maps to isn't of type string, it must figure out how to convert the given string into the correct type, before calling the property setter.
显然,属性被声明为string(hey,它毕竟存在一个文本文件里),所以它映射的类型不是string,它必须在调用property setter之前,找方法怎么把给出的string转化为正确的类型。
-
The key to understanding this recipe lies in the definitions of the translate and maketrans functions in the string module. translate takes a string and replaces each character in it with the corresponding character in the translation table passed in as the second argument, deleting the characters specified in the third argument. maketrans is a utility routine that helps create the translation tables.
理解这一配方的关键,在于string模块中 translate 和 maketrans 函数的定义。translate接收一个字符串,并根据第二个参数中传入的转换表,将字符串中的每一个字符替换为相对应的字符,同时删除掉第三个参数中指定的字符(译者注:当translate作为字符串对象的方法调用时,转换表为第一个参数,第二个参数中指定要删除的字符)。maketrans 是一个用来帮助创建转换表的例程。
-
Note that even though a std::string is used, one should not view the string classically.
请注意,即使一个std::string的使用,则不应把该字符串古典。
-
Write a program to read strings from the standard input, concatenating what is read into one large string.
编一个程序,从标准输入读取多个 string对象,把它们连接起来存放到一个更大的 string对象中。
-
Sometimes, as in this recipe, you may choose some simple task, such as concatenating to the empty string, as a stand-in for a much richer set of properties (such as all the various operations and methods available on string objects).
有时候,象在这个配方里一样,你可以选择一些简单的任务,例如连接到空的string,作为一个更丰富的属性集合的替代(诸如所有的变量操作和方法在string对象上都可利用
-
Of being able to convert a number given in string representation to an actual float value, obsoleting the use of the atof function of the string module.
从 Python 1.5 开始, float 增加了把字符串表示的数值转换为浮点数的功能,没必要使用 string 模块中的 atof 函数。
-
We introduced the string type in Section 3.2 (p. 80). Table 9.12 (p. 337) recaps the string operations covered in that section.
第 3.2 节介绍了 string 类型,表 9.12 扼要重述了在该节中介绍的 string 操作。
-
Observe that the String method calls Sprint (the obvious Go variant that returns a string) to do its formatting; special formatters can use the fmt library recursively.
前面的例子中,String方法用到了Sprint(从字面意思可以猜测函数将返回一个字符串)作为格式化的基础函数。
- 相关中文对照歌词
- Pearls On A String
- I've Got The World On A String
- String Bean Jean
- I've Got The World On A String
- Tin Can On A String
- String-A-Long Song
- Six String Soldier
- I've Got The World On A String
- Six String Music
- Hanging On A String
- 推荐网络例句
-
I am accused of being overreligious," she said in her quiet, frank manner,"but that does not prevent me thinking the children very cruel who obstinately commit such suicide.""
客人们在卡罗利娜·埃凯家里,举止就文雅一些,因为卡罗利娜的母亲治家很严厉。
-
Designed by French fashion house Herm è s, this elegant uniform was manufactured in our home, Hong Kong, and was the first without a hat.
由著名品牌 Herm è s 设计,这件高贵的制服是香港本土制造,是我们第一套不配帽子的制服。
-
Do not 'inflate' your achievements and/or qualifications or skills .
不要 '夸大' 你的业绩或成果,条件或者技能。