Let me make sure that the user annotations are disabled this time and let's take a little look at this one here.
我先把用户信息注释去掉,然后开始播放。
If we integrate all these kinds of requests or this kind of consumer needs into one box, that should be a magic box. That is called Box Computing.
如果把这些请求,或者用户需求都整合到一个搜索框内,那将会是一个“魔框“,这就是框计算。
So, if you like, I've built a separation between the user and the implementer.
好,也就是说这样做,把用户和实现者分离了。
s1 We're assigning to s1 the string that the user typed in.
我们把用户输入的字符串赋值给。
s2 So, I'm passing in the first character in s2, I'm making it uppercase and then I'm putting it back so casually speaking this is just capitalizing the first letter of whatever word the user typed in to s2.
那么,我把第一个字符传递给,我把它转换成大写的,然后存下来,简单说,这就是把用户输入s2中的单词,的第一个字母转换成大写的。
This is copy2.c. At the very beginning I, again, demand say something and then I declare s1 to be a string, aka char *, and I store in s1 the string the user types in.
这是copy2。c,在开头打印一句话,然后声明s1是一个字符串,也叫做char,*,然后把用户输入的字符串存储在s1中。
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,这个程序的最终目的是,告诉我两次用户输入的是不是同样的东西。
应用推荐