For some reason, at the top of this file, I've also included what I've called a function prototype.
因为一些原因,在这个文件顶端,我包含了一个函数原型。
printf I have my includes, standard IO's; so I can use print F, but then I had this thing called a prototype.
我包含了标准输入输出文件,所以我可以使用,然后我有这个原型。
Well, I include what's called a header file as we'll call it.
好吧,我需要包含一个头文件。
So that's why I've included that header file.
这就是我包含那个头文件的原因。
So I could -- and the hint here is that looks like you probably do want to use CS50's library because I've included the so-called header file for it.
所以我可以--这里的提示看起来好像,你可能的确想使用CS50的函数库,因为我包含了所谓的头文件。
include stdio h The next line of code says include standard io.h which just as a little sanity check contains among other things, printf.
接着的一行代码写着,这个库文件包含一些我们常用的函数,譬如,printf函数。
stdio c So somewhere there's standard IO dot C, stdio h somewhere they're standard IO dot H, but, for me, right now, the only file I need to know about is the dot H, -- because what Sharp include really does -- it's what's called a preprocessor directive.
所以某个地方有一个,现在对于我来说它们是,我只要知道那个,h文件,因为Sharp包含的-,叫做预处理指令。
应用推荐