Always provides you with access to the math library because that's useful, too, so you don't always have to remember that.
总是能够让你能够使用数学程序库,那也是有用的,所以你不一定要把它记住。
Same way that I have multiplication or division as a primitive, functions are going to give me, or somebody else who wrote them for me as part of a library, a new primitive that I'm going to be able to use.
我在用乘法或者除法当做原语,这些函数,或者别人写程序库中的函数,将会给我返回一个,我能使用的新原语。
> That lets the compiler know that you want to use some actual compiled code from that library.
>,那是告诉编译器我们想要在程序库中,使用一些当前的编译后的代码。
So just in case I happen to use the CS50 library, we've configured the cloud in such a way that make just always provides you with access to it.
所以万一我碰巧使用了CS50程序库,我们用这种方法配置了联网,那样我们就有使用它的权利了。
At the top, I've got some CS50 Library going on, argv standard I/O library; I don't bother mentioning argc or argv because I'm not going to use them in this program.
在顶端,我使用了CS50函数库,标准输入输出库,我没有提到argc或者,因为我不会在这个程序中使用它们。
But long story short, if I want to use a function called sleep, -- the reason I, the programmer, knew to use that library -- -- that header at the top -- because it told me to in this little synopsis.
但长话短说,如果我想要用一个叫做sleep的功能,我作为程序员知道使用那个函数库-,上面的标题-,因为在这个小的大纲中它告诉我。
And then for this stuff up here, it turns out and I know this is just from experience, this is called the Ncurses library.
对于这个程序,凭经验来讲,应该还需要一个Ncurses库。
> David: Yeah, so that's the CS50 library.
>,大卫:是的,这是CS50程序库。
应用推荐