Said a different way, in the case of the straight-line programs, how long would it take to run a program?
换种说法,在直线式程序里面,运行一个程序要多长时间?
It'd still give me an answer. It just would not be the answer I'm looking for.
然后运行程序,程序还是会返回一个答案,只是不是我想要的答案。
Now, mind you, it was 20 years ago that this program was operational, 20 years.
现在,提醒你们,这是20年前,运行的一个程序,20年了。
A huge one is, are you actually running the code you're looking at in your editor.
一个很大的错误就是你运行的程序,是否是你在编辑器中看到的程序。
And that's basically the process of ascertaining why the program is not working.
这其实是一个查明为什么程序,不运行或者不按期待中运行的过程。
Eventually, it's a big program, I run it.
最终组合成一个大程序我再去运行。
nano Well, anytime you run a program at the command line, like nano, you've almost always been putting one or more words nano hello c GCC hello c after that program's name; nano hello dot C, GCC hello dot C, and any number of MKDIR for make directory, and then peace at one or similar.
好的,任何时候在命令行中运行一个程序,就像,你几乎总是用1个或多个单词,在程序名的后面,许多的建立一个新的子目录,然后恢复平静。
And so very often I would find myself with gigabytes worth of data, at night I needed to analyze this data and look for this patterns and frankly the reality was sometimes I could spend 10-15 minutes whipping up a little script, a little program that unfortunately would take eight hours or more to run.
我经常会发现十亿字节的数据,晚上我就需要分析这些数据并,找出模型,坦白说,有时,我会花10-15分钟来编写一个小脚本,一个小程序,但不幸的是,运行它可能需要8个小时或更多时间。
I am going to run a program called Nano nano hello c and type nano hello.c and I'm gonna type the following very quickly without much explanation because we'll dive into this more next week.
我要运行一个Nano程序,键入,我快速写下下面的内容,不打算做过多的解释,因为下周我们会深入了解这些。
So I tried running a program in this little black and white window called GCC and we'll see it today working properly that is a so called compiler.
在一个名为GCC的黑色小窗口里,运行我们的程序,然后得出想要的结果,这就是所谓的编译器。
I'm gonna run the command called Nano which is a very simple program.
运行名为“Nano“的指令,这是一个非常简单的程序。
But on the Mac, I'm gonna run this program called Terminal.
在Mac上运行一个Terminal程序。
I have connected to the course's central server from my own laptop and via dot slash chart am I about to run a little program that depicts as best we can with what with generally call ASCII art -- -- it's really all you can do in a terminal window like this -- our numbers from the past few years.
我已经通过我的电脑连接到了课程的中心服务器,在我的笔记本电脑上,通过键入“,/chart“,我将要运行一个被描写成,“ASCII码艺术“的小程序-,在一个这样的终端窗口中你们都可以做到-,过去几年中我们的人数。
应用推荐