英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:

dereference    
复引用

复引用

To access the thing to which a pointer points,
i.e. to follow the pointer. E.g. in {C}, the declarations

int i;
int *p = &i;

declare i as an integer and p as a pointer to integer. p is
initialised to point at i ("&i" is the address of i - the
inverse of "*"). The expression *p dereferences p to yield i
as an {lvalue}, i.e. something which can appear either on the
left of an {assignment} or anywhere an integer expression is
valid. Thus

*p = 17;

would set i to 17. *p is not the same as i however since
it is parsed as *(p), i.e. increment p (which would be an
invalid thing to do if it was pointing to a single int, as in
this example) then dereference p's old value.

The {C} operator "->" also dereferences its left hand argument
which is assumed to point to a {structure} or {union} of which
the right hand argument is a {member}.

At first sight the word "dereference" might be thought to mean
"to cause to stop referring" but its meaning is well
established in jargon.

(1998-12-15)


请选择你想看的字典辞典:
单词字典翻译
dereference查看 dereference 在百度字典中的解释百度英翻中〔查看〕
dereference查看 dereference 在Google字典中的解释Google英翻中〔查看〕
dereference查看 dereference 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • Dereference Pointer in C - GeeksforGeeks
    One is to declare a pointer variable and the other is dereference operator When we dereference a pointer, we deal with the actual data stored in the memory location it points to
  • What does dereferencing a pointer mean in C C++?
    The dereference operation starts at the pointer and follows its arrow over to access its pointee The goal may be to look at the pointee state or to change the pointee state
  • C++ Dereferencing - GeeksforGeeks
    When you want to change the value of the variable by dereference operator? In a few conditions, we can change the value of the actual variable when we need it rather than referencing another variable
  • C++ Dereferencing - W3Schools
    Note that the * sign can be confusing here, as it does two different things in our code: When used in declaration (string* ptr), it creates a pointer variable When not used in declaration, it act as a dereference operator
  • Meaning of referencing and dereferencing in C
    Referencing means taking the address of an existing variable (using ) to set a pointer variable In order to be valid, a pointer has to be set to the address of a variable of the same type as the pointer, without the asterisk: int* p1; p1 references c1
  • C++ Dereferencing - Online Tutorials Library
    In C++, dereferencing is the process that helps in accessing the value that a pointer points to Where pointers store the memory address of that particular value To access or modify the value stored at that address, you can use the dereference operator denoted by (*)
  • C++ Dereferencing Explained - Udacity
    To set the context for dereferencing in C++, let’s quickly cover the principles behind computer memory Computer memory can, in many ways, be thought of as a set of pigeonholes The memory is subdivided into individual locations, and every location has its own address
  • cppreference. com
    Sorry for the delay, and thank you for your patience
  • Dereference Pointer in C - Online Tutorials Library
    With the help of the above syntax (dereference pointer), you can get and update the value of any variable that is pointing by the pointer





中文字典-英文字典  2005-2009