During this time, Dean launched his singing career with Columbia Records and produced a string of minor hits in the 1950s.
VOA: standard.2010.06.14
But really, the computer's just so fast I'm drawing the same string with just a slightly different number again and again after going to sleep one second at a time.
但是真实地,这个计算机到现在为止,我一次又一次用稍微不同的数字,绘画了相同的字符串,在睡眠1秒钟之后。
S We saw percent S which is a placeholder for a string, turns out as you'll see over time there are other placeholders.
我们知道字符串占位符,输出来就是另一番场景了,还有一些其他类型的占位符。
Here is the pitch in--of--a string an octave higher so you can see it this way. As you probably know, if you take a long string and pluck it, it's going to take that long string a long time to pass that sort of cycle, if you will, just one pass through that cycle.
这也是个音高,一个高八度的音弦,你可以这样这样看 你们可能知道,如果你拨动长弦,长弦要经过很长时间,才能完成一个震动周期,如果你想,可以尝试下
Last time we used printf generally to print a static string, like a hardcoded string, like "David," just for example's sake.
上次我们通常用“printf“,来打印一个静态的字符串,像硬编码的字符串“David“,这只是个例子。
So, certainly the CS50 Library designed to be dynamic and, in fact, any time you call get string, we are, in fact, ; allocating a chunk of RAM but it's not coming from the stack; it's actually coming from this portion of memory called the heap.
所以,Cs50库是动态设计的,实际上,每次你调用GetSting时,我们分配一块内存,但它不是来自栈;,而是来自于叫做堆的,内存的一部分。
I'm going to use the CS50 Library instead for user input I'm saying say something then I'd get a string from the user and I call time s1 and then I say, say something, s2 and then I get another string from the user and call it s2 and apparently this program's purpose in life is to tell me yes or no the user said the same thing both times.
然而我使用的是CS50库来获得用户输入,我说点什么,然后从用户那里获得一个字符串,并把它叫做s1,然后我说点什么,然后从用户那里获得一个字符串,并把它叫做2,这个程序的最终目的是,告诉我两次用户输入的是不是同样的东西。
应用推荐