简单地说,类是一个由变量和方法组成的离散块或束。
Put simply, a class is a discrete block or bundle of variables and methods.
我乘坐的独木舟船头坐着个男孩,他用一根简单的弹弓、一条橡胶皮带和一块皮垫用石头打鸟。
The boy in the bow of my canoe slapped stones at birds with a simple sling, a rubber thong and a leather pad.
很久以前,一块块淋有蘑菇和香料的扁平面包是一种简单而美味的食物。
Long ago, pieces of flatbread, topped with mushrooms and herbs, were a simple and tasty meal.
Thing I've got a little procedure that could do that, but you know the simplest thing I could do is to say well, gee, wait a minute, why don't I just check to see if these are the same thing?
这两个点是同一个点么?,我已经写了一小块代码,可以提供这个功能,但是你知道的我可以做的,最简单的事情就是说好,嗯?,等等,我为什么不直接去看看,这两个东西相等不相等呢?
There's a whole bunch of blocks that we'll look at in more fun detail on Friday but I'm going to pick the easiest one here and I'm going to type Hello CS50 in this string, "Hello CS50", zooming in say how nice the puzzle pieces are nicely interlocked?
今天我们看到的各种图块,到下周五我会仔细讲解其中的精妙之处,但今天我只想举一个最简单的例子,我要在这儿键入字符串,放大窗口,然后看看这漂亮的图形和文字,是如何美妙地连结在一起的?
应用推荐