Listing 2 shows the Friend class.
清单2展示了friend类。
Everyone in Caitlin's class was supposed to choose a pen friend from another country.
凯特琳班上的每个人都应该选择一个来自其他国家的笔友。
After class, she told her friend, Linda, about the money that she found.
下课后,她把她找到钱这件事告诉了朋友琳达。
I believe you are the most popular girl in our class, you are so outgoing that everyone wants to be your friend.
我相信你是我们班最受欢迎的女孩,你很外向,每个人都想和你做朋友。
Consider taking a class; hiring a private tutor; or learning along with your child, spouse, or friend.
可以考虑报个班,请家教或者和孩子配偶或朋友一起学。
A friend had a high-school classmate who spent every physics class staring at the ceiling, either asleep or completely indifferent.
朋友高中班上有个同学,每节物理课上要么睡觉要么完全不听,无论何时永远头朝天花板。
My friend sits behind me in class.
在教室,我朋友坐在我后面。
It's Jane, a good friend he met in his sophomore English class.
是简,在二年级英语课上遇见的一个好朋友。
What this means is that if you miss a class you need to get notes, and so you should get them from a friend or from the person sitting next to you.
这也就意味着,如果你落下了一节课,你就要看笔记,你可以向朋友或者身边的同学借来看。
In the past if you were determined to learn, you might have called a friend or a relative, taken a night class or walked down to the local library for a research term.
在过去如果你决心要学习如何做这些事,可能会给朋友或亲戚打电话,上夜校或到当地图书馆查找。
I want to extend my congratulations to the class of 2007, wish you well and let you know you have a friend in the Speaker's office.
祝贺2007届的毕业生,祝一切顺利。请记住你们在众议院有我这个朋友。
And I have a friend who I don't know that well, somebody who was sitting next to me in class a few weeks in a row.
我刚认识了一个朋友,几周来,我们上课坐在同一排。
Recently I had the opportunity to guest-lecture a class at Stanford called Data Mining and Electronic Business, which is taught by my friend (and former Chief Scientist at Amazon) Andreas Weigend.
最近,我有幸受邀在斯坦福为一门课做了次讲座,课程的名字叫数据挖掘与电子商务,由我的朋友安德烈亚.威根 (Andreas Weigend) 主讲。 他曾任亚马逊首席科学家。
It then calls the friend function spacefriend and passes the class object address as its argument, and calls the template function, beginning with integer types and then floating data types.
然后,调用友元函数spacefriend并将类对象的地址作为其参数传递。然后调用template函数,先使用整数类型,然后使用浮点数据类型。
Consider a Serializable Person class that defines a friend of its own, as shown in Listing 1.
Serializable Person类定义了一个它自己的友元,如清单1所示。
So my friend helped me find him a gym, and in two months, he was fighting in the open class.
所以一个朋友帮我给他找了一个拳击馆,两个月以后,他开始在公开课上向大家示范出拳。
"When a teacher is trying to tone down a best-friend culture, I would like to know why," Dr. Thompson said. "is it causing misery for the class?"
“当一位老师试图阻碍最好朋友之间的友情,我想知道为什么”汤普森教授说,这将上学痛苦的根源?
Class, Elizabeth did a wonderful card: 'To Vincent, you are my friend.' Isn't that nice?
同学们,伊丽莎白做了一张很漂亮的卡:“给文森特,你是我的朋友。”不是很好吗?
Who is your best friend in your class?
你们班上谁是你最好的朋友?
And for the only boy in our class, I was surprised but felt happy he regarded me as the only dependable friend in our class.
班上的唯一一个男生,告诉我我是他在班里唯一信赖的朋友,我有点惊讶但是很高兴能有这份信任。
Luckily for me, I had my best friend in every class I took, but it doesn't happen to everyone.
我很幸运,因为我上的每门课都有我最好的朋友,但并不是每个人都这样。
A friend function named spacefriend, which is a friend of class space, and which takes the class object as an argument and prints the value of its variable x.
名为spacefriend的友元函数,它是space类的友元,它的参数是类对象,输出类对象的x变量的值。
She brought her Spanish friend into class.
她把她的西班牙朋友带到班里来了。
Do you know I have a new friend in Class Five.
你知道我在五班有一个新朋友吗。
To generate a C++ friend function that is a friend of a class, you need to create a UML operation within a UML Class and apply the cpp_operation stereotype on the UML operation.
为了在一个类中创建一个 C++友函数,您需要在一个UML 类的内部创建一个 UML操作,并且将 cpp_operation套用在该 UML 操作上面。
To generate a C++ friend function that is a friend of a class, you need to create a UML operation within a UML Class and apply the cpp_operation stereotype on the UML operation.
为了在一个类中创建一个 C++友函数,您需要在一个UML 类的内部创建一个 UML操作,并且将 cpp_operation套用在该 UML 操作上面。
应用推荐