• If you scroll back up on the printout or screen here, you'll see that you can actually not only declare function's prototypes, their general structure.

    如果我回滚到打印输出或者这个屏幕,你们将看到你们不仅可以声明函数的原型,它们的一般结构。

    哈佛公开课 - 计算机科学课程节选

  • Glancing at the bottom, this is pretty arbitrary, but I chose to format my string as follows: % 1f so at the bottom here I'm printing out %.1f, which quick sanity check means print just one digit after the decimal place.

    看下这个底部,这个是相当随意的,但我选择把我的字符串格式化成这样:,所以在这个底部我打印输出,提醒一下,这是一个只打印出,小数点后一位的方法。

    哈佛公开课 - 计算机科学课程节选

  • Is the first part. That says, I took the branch through here that eventually got to the end and said, there wasn't a solution, in which case I'mgoing to print out, there ain't no solution, otherwise I'll print out the pieces. All right, let's check it out. Ah, what did I say?

    我是否返回了特殊的none值?是第一部分,这里的意思是我从这个分支,走到这儿最终走到最后,并告诉我这条路没有解决方案,也就是我想要打印的结果,没有符合的结果,否则我会把它们输出来?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So among your printouts are a couple of files one called condition1.c. I'm going to change over to my terminal window.

    在你们的打印输出中有几个文件,其中一个叫做condition1,c,我将,改变我的终端窗口。

    哈佛公开课 - 计算机科学课程节选

  • I'm not wasting time typing out arguments and implementing more complicated function.

    我不会在浪费时间在打印输出参数上,我执行了更复杂的程序。

    哈佛公开课 - 计算机科学课程节选

  • > So for anything that's not printf, you have to write out code?

    >,对于不是打印输出的,你需要写出代码吗?

    哈佛公开课 - 计算机科学课程节选

  • But for the next week or two when you're writing programs, at least for the first time, generally if you're trying Scratch to debug them like you might have been trying to troubleshoot Scratch, you're probably going to reason - through it by looking through the your code -- -- top to bottom, maybe engage a staff member for help -- but your friend will also be printf.

    但是,在接下来的一两周内,当你们写程序的时候,或至少在第一次写的时候,通常如果你在调试程序,就像你们可能已经试着调试过,你们或许是通过查看你们的代码,来推断你们的程序-,从头到尾,可能还需要别人的帮忙-,但是你的朋友也将要打印输出

    哈佛公开课 - 计算机科学课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定