And if that's true is everything in the string, starting at the first element and removing the last element, a palindrome?
如果是相同的话,是不是字符串中的所有从第一个元素开始,并且删除最后一个元素后?
It says if this is a string of length 0 or 1, I'm done. I'm going to return the answer true.
我就会返回答案为真,否则的话我得判断它。
printf And then I'm gonna use the same printf line after that to actually plop it into this formatted string.
我还是要用到,来把它转换成格式化字符串。
The second thing is, just as in the case of the violin string, the wave equation, as posed by Schrodinger, has a plurality of solutions.
第二,就那个小提琴弦而言,波动方程,被薛定谔所提出的,有许多解法。
What string technique are the violins using at this particular moment and then what rhythmic device does the trumpet insert?
在这个特殊的瞬间,小提琴用到了什么演奏技术,之后小号又用了什么节奏方法
These joint undertakings are like,well, you might think of them analogous to playing chamber music with a string quartet.
这种共同行为,就像是用弦乐四重奏演奏室内乐。
Well, a while back I said that we'll use it at least for a few weeks this moniker string.
好的,前阵子我说过,我们将至少,要使用这个绰号几周。
STUDENT: Good question. Sounds like a reasonable guess How in the world am I going to compare a string to a number?
学生:不可闻的声音:,很好的问题,听起来像一个很合理的猜测,我到底该怎么对一个字符串,和一个数字进行比较呢?
Point of absolute rest in a vibrating string we call a node.
一条绳子上绝对震动静止的点,我们称之为节点。
It turns out when we call string a string, we're really referring not to those characters but to the address, the location and memory of those characters.
当我说字符串时,我并不是指这些字符集,而是指地址,就是这些字符集在存储器中的位置。
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,这就是程序中第二行代码所表示的,现在我调用。
If you know you're not gonna output a full string %C but a single character, percent C will get that job done.
如果你不想输出一个完整的字符串,而是输出一个字母,就要用到。
It could also say, what are the methods associated with the string, 1. I'm sure you can quickly graph it, but notice they aren't the same.
我们也可以说,与字符串1相关联的方法有哪些?,我相信你们可以很快的求出来,但是请注意这跟前面的。
So it's a useful way of not quite knowing in advance what you want to put in a string, but being able to create strings, phrases, sentences, dynamically.
这是一个很有用的方法,如果你之前不是很了解,在句子中要加入什么,但是这个方法可以,动态地创建字符串,短语,句子。
Just like somebody could take my place in the string quartet, it seems that somebody could take my place at the guillotine.
就像别人代替我在弦乐四重奏团演出一样,看上去有人可以代替我上断头台。
So, let's do a little sanity check now and let's try to demonstrate as much I now claim I'm going to capitalize the copy of the string I just made.
多以,让我们做一个检查,然后做一个演示,现在我声称,我要利用那个字符串的拷贝。
应用推荐