To access the third field, you would specify register X as the base pointer and 12 as the offset.
要访问第三个域,我们需要指定寄存器x作为指针,12作为偏移量。
So, using base-pointer addressing, you would specify register X as the base pointer and 8 as the offset.
因此,使用基指针寻址模式,我们可以指定寄存器x作为基指针,8作为偏移量。
You then use register 127 as your loop counter and register 126 as your base pointer, and perform convert_to_upper on each value until you get to the end of the buffer.
然后再将寄存器127用作循环计数器,将寄存器126用作基指针,并在每个值上执行convert _ to_upper,直到到达缓冲区的底部为止。
Since a NULL pointer terminates a list, we can also use the NULL pointer condition as a base case for many of our recursive functions on linked lists.
由于NULL指针会结束一个链表,所以我们也可以使用 NULL 指针条件作为基于链表的很多递归程序的基线条件。
Notice how like our recursive programs, the definition of a linked list also contains a base case -- in this case, the NULL pointer.
注意,与我们的递归程序非常类似,链表的定义也包括一个基线条件 ——在这里是NULL指针。
In base-pointer addressing mode, the register has the base address and the literal number has the offset.
在基指针寻址模式中,寄存器中保存的是基址,数字是偏移量。
Dynamic casts are needed when we have a reference or pointer to a base class but need to perform operations from the derived class that are not part of the base class.
当具有基类的引用或指针,但需要执行不是基类组成部分的派生类操作的时候,需要动态的强制类型转换。
If the base member took different arguments than the derived-class member, there would be no way to call the derived function from a reference or pointer to the base type.
如果基类成员与派生类成员接受的实参不同,就没有办法通过基类类型的引用或指针调用派生类函数。
Notice how like our recursive programs, the definition of a linked list also contains a base case — in this case, the NULL pointer.
注意,与我们的递归程序非常类似,链表的定义也包括一个基线条件——在这里是NULL指针。
Called to determine the base address of a structure whose type is known when the caller has a pointer to a field inside such a structure.
调用该宏计算出已知类型、已有一个域(成员)的指针的结构体的基地址。
For a derived class with a constructor that takes a base class pointer, how do I refer to the base class pointer?
派生类的构造函数基类指针,我怎么指向基类的指针?
When you invoke calls through a pointer to the base class, the technique is the same.
当你通过基类的指针来调用虚函数,技术也是一样的。
If I have a pointer to an object cast to one of its base classes, I can call the correct member functions through the abstract base class.
如果我有一个对象的指针,转换到它的基类指针对象上,我能通过基类指针调用合适的成员函数。
Note that this pointer is declared as "void, " because we will return arbitrary base class pointers through this parameter.
注意这个指针声明为“void”,因为我们会通过这个参数返回任意的基类指针。
After that happens, even when you have a pointer to base, calling a virtual method can call a derived method.
发生后,即使你有一个指针基地,调用virtual方法可以调用派生的方法。
Initially, this pointer is set to the managed heap's base address.
最初,该指针设置为指向托管堆的基址。
When you request a memory block, the debug heap manager allocates from the base heap a slightly larger block of memory than requested and returns a pointer to your portion of that block.
当您要求记忆体区块时,侦错堆积管理员会从基底堆积配置比要求稍微大一点的记忆体区块,并且传回此区块部分的指标。
If that pointer is a base-class type pointer that points to a derived-type object, then that object is sliced down ( Section 15.3.1, p. 577); only the base-class part is thrown.
如果该指针是一个指向派生类对象的基类类型指针,则那个对象将被分割( 第15.3.1节),只抛出基类部分。
If that pointer is a base-class type pointer that points to a derived-type object, then that object is sliced down ( Section 15.3.1, p. 577); only the base-class part is thrown.
如果该指针是一个指向派生类对象的基类类型指针,则那个对象将被分割( 第15.3.1节),只抛出基类部分。
应用推荐