万一这段测试代码里面有几十上百个定位器怎么办?
What if there are tens or hundreds of locators in the test code?
不过,实际上有些代码就是不能顺利完成转换,但是这里面有一些原因。
In fact, though, some code out there doesn't survive transitions gracefully, and there are reasons why.
学生写的代码里面有很多错误我应该早就指出来,如果我开始就进行复审(听起来耳熟吧?)
There were a number of bugs in the student's code that I'd have caught much earlier if I'd been reviewing it (sound familiar?)
So, inside of code, or inside of a script, there's no print, unless we make it explicit.
因此,在代码里面,或者在脚本里面,不会有显示结果的功能,除非我们让它这么做。
cs50 h It's not called standard io.h, it's called cs50.h. That's where the code we wrote for you will live and then we'll see how to do this in examples today onward but we wrote for you some tools, some functions that calls GetChar for get a character.
当然不是标准输入输出库了,而是叫做,这里面有一些我们写的代码,等一下我会举几个例子,我们写了一些函数,比如GetChar,意思是得到一个变量。
应用推荐