It's hard to answer questions and whatnot and you don't necessarily have access to the same tools unless you yourself go through the process of configuring your machine manually by following many long sequences of steps.
所以很难说会出现什么情况,你们不能,用同一台机器,除非你们自己按照一系列,冗长的步骤手工配置,你们自己的电脑。
You don't need this hack of just, like, manually adding a decimal point just to fix that problem.
你不需要这样来操作,比如,手动地加入小数点来修正这个错误。
When you declare a pointer yourself manually, you do say char * the variable name because recall that's the same thing that we did earlier but we called it instead string.
当你手动声明一个指针是,你可以说char,*,变量名字,因为那是我早些时候做的事情,但是我们叫它为字符串。
So where as I currently am manually typing like dash L cs50 and dash O hello.
刚刚我们提到自己动手敲,一些像/lcs50还有/0,hello这样的命令。
Well, this question mark becomes an O, this question mark becomes an O, and then the loop terminates 0 1 2 because it's iterating from zero to N so that's zero, 1, 2 and the length of the string is 3 so the loop terminates, but I remember that I needed to have this special sentinel value so I'm just going to put it there manually.
嗯,这个问号变成了,这个问号变成了0,然后循环结束了,以为迭代从0到N,那就是,字符串的长度是3,然后循环就结束了,但是我记得我需要这个特殊的标记值,所以需要手动的加上它。
应用推荐