> That lets the compiler know that you want to use some actual compiled code from that library.
>,那是告诉编译器我们想要在程序库中,使用一些当前的编译后的代码。
So p dot Cartesian is a kind of accessor, it's getting access to the data.
这就是为什么,我想要使用访问器的原因。
My prototype, again, so that I can use it later increment without the compiler wondering what is this increment that you're referring to because it's not otherwise been declared.
我的函数原型,再次强调,我可以以后使用它,这样编译器就不会疑惑这个你提及的,是什么,因为是没有,被声明的。
It turns out you can list one, give it a name, and if you use square brackets, that tells the compiler I actually want to put multiple values inside of this -- inside of this variable and how do we do that?
结果是你可以列举一个,给它取个名字,如果你使用方括号,那是告诉编译器,在里面我需要许多的值--在这些变量里,我怎么做到的?
> What exactly is the difference with this system that we have here of compiling and say another compiler for one like the C++?
>在这个系统上编译,跟在我们这编译有什么不同吗?,也就是说,有没有其他的编译器供C++等语言使用?
- Well -- and I'll fix this blue next time -- I'm first telling the compiler I need access to the standard io library because printf is declared there.
哦!--下次我把这个字体颜色改成蓝色的-,我先告诉编译器--我需要使用,标准输入输出库,因为printf在那个库里面申明的。
So that is a flag that tells the compiler that I want to use or link into my own program code that someone else wrote that lives somewhere else on the system whose moniker is CS50.
所以那是一个标记,用来告诉编译器我想使用,或连接我自己的程序代码到一个叫做CS50的系统中的程序,可能其他人在那个系统写了这些程序。
And for those of you who want to pick up a more sophisticated text editor, we will point you in the direction soon of tools called Vim, or Vi, Emacs.
如果你们有谁想使用,更高级点的文本编辑器的话,我们可以给你们,一些指导:像Vim,或者Vi,Emacs编辑器。
- You then run a compiler, in our case called "GCC" -- -- one of the world's most popular -- and then you can run it with some number of switches, these command line arguments as they're called that somehow influences the behavior of this program.
然后你们运行编译器,在这里我们使用叫做“GCC“的编译器-,这是全球最流行的-,然后你们可以通过一些命令来运行这个编译器,这些命令行参数可以,影响这个程序的行为。
应用推荐