And it's hard to imagine a simpler program than this. So we very quickly realize that exhaustive testing is just never feasible for an interesting program.
更简单的程序了,因此我们很快的意识到,对一个程序来说详尽的,测试是永远不可行的。
So when you're writing a program in this language and many others, if you wanna make a comment to yourself or for other people who are reading this with their TF or fellow colleagues, you use what are called comments.
当你用这样那样的语言写程序时,为了便于自己或他人,阅读我们写的代码,我们必须得做一些注解,这就是所谓的注释。
So we created this on-site service program for servicing PCs, which had never been done before.
所以在PC服务方面,我们开启了现场服务项目,这是史无前例的。
The check needs to be somewhere in the program, but this is not the right place for it.
这个check必须出现在程序中,但是放在这儿是不对的。
Now just to get used to the conventions, 0 because this is the program you'll use not for problems at 0 but for 1 to start writing programs, notice at the top in this window just reminds you what you're working on.
我们要入乡随俗,习惯这样的界面,因为这是你们将要用到的程序,不是为习题集0,而是0,而是为习题集1开始写程序的,注意窗口顶部,这是用来提醒你,你工作在何种环境。
Essentially, this command make is just another program that uses GCC to compile my program for me but make is configurable.
从本质上来看,make命令就是一个,调用GCC来编译我们程序的程序,只不过make是可以配置的。
So this program, if you run it based on intuition or little cheat sheets in front of you, what is this program ultimately going to do for me?
所以这个程序,如果你按照你的直觉,或你们面前的备忘单来执行它,这个程序最终会为我做什么?
So I propose this algorithm, this program, this process for counting people in this room.
因此我提出了这种算法,这种程序和处理方法,来计算教室里的人数。
Go ahead and recite for us line 2 of this program.
我们看看程序的第二行。
So if I type "man sleep," this is going to give me the user's manual for a program called sleep, but there's a gotcha and the problem set it makes clear, sleep notice that it says at top left sleep one.
所以如果我键入“man,sleep“,它将,给我一个叫做sleep程序的用户手册,但是这里有个参考信息,它使问题更清晰,请注意它指明在左上角。
So here's a program called Arg V, this is fancy speak for argument Vector, a list of arguments for the left or right.
这里有一个叫做ArgV的程序,这个设想讲述了,参数矢量,从左到右的一列参数。
应用推荐