库珀:妈妈,我想养只小狗。
亲眼目睹着贝尔库的人们辛勤劳作、保护妻儿老小而经常不生怨言,我想一个人会感到心底的秘密羞愧。
To see these men of Belcourt working, protecting their wives and children, and often without a reproach, I think one can feel a secret shame.
假定我的应用程序中的数据都来自于数据库表中存储的各种值,我想让数据模型知道怎样对数据进行查找、排序、遍历和修改。
I wanted to make an assumption that the data in my application was just values from a table. I wanted my data model to know how to search, sort, traverse and modify that data.
There's been a lot of work done on these over the years, but in fact, it's pretty hard to invent a good hash function. So my advice to you is, if you want to use something was a hash, go to a library. Look up a good hash function.
已经做过了很多的尝试和努力,但是事实是,很难发明出一个好的哈希函数,所以我给你们的建议是,如果你们想使用哈希功能,到函数库中查找一个好的哈希函数。
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的功能,我作为程序员知道使用那个函数库-,上面的标题-,因为在这个小的大纲中它告诉我。
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的函数库,因为我包含了所谓的头文件。
应用推荐