英文字典中文字典


英文字典中文字典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英翻中〔查看〕





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


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

































































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


  • C++ Dereferencing - GeeksforGeeks
    Pointers and references work simultaneously together, where the pointer uses references to store the address of another variable Syntax: Dereferencing is the method where we are using a pointer to access the element whose address is being stored We use the * operator to get the value of the variable from its address Example: Referencing
  • C++ Dereferencing - W3Schools
    In the example from the previous page, we used the pointer variable to get the memory address of a variable (used together with the reference operator) However, you can also use the pointer to get the value of the variable, by using the * operator (the dereference operator):
  • Pointer Dereference (GNU C Language Manual)
    The main use of a pointer value is to dereference it (access the data it points at) with the unary ‘*’ operator For instance, * i is the value at i ’s address—which is just i The two expressions are equivalent, provided i is valid
  • dereference - Wiktionary, the free dictionary
    (programming) To access the value or object located in a memory location addressed by a pointer or another value interpreted as such; to access a value being referenced by something else Attempting to dereference a null pointer often results in a crash
  • C++ Dereferencing Explained - Udacity
    Dereferencing in C++ has the potential to be confusing, especially since it uses the * operator in two different ways In this article, we’ll touch on the importance of memory locations and how to access them using pointers We’ll then dive into dereferencing to better understand memory locations and see what values are held there
  • Dereference vs. Reference - Whats the Difference? | This vs. That
    Dereference involves accessing the value stored at a memory address, while reference creates an alias for a variable Dereference allows for indirect access to a variable's value, while reference allows for passing variables by reference
  • What is a Dereference Operator? - Computer Hope
    In computer programming, a dereference operator, also known as an indirection operator, operates on a pointer variable It returns the location value, or l-value in memory pointed to by the variable's value In the C programming language, the deference operator is denoted with an asterisk (*)
  • 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 (*)
  • Dereference in C++: A Quick Guide to Pointers - cppscripts. com
    Unlock the secrets of dereference in C++ This concise guide simplifies pointers, helping you grasp the concept with ease and confidence
  • How to Dereference a Pointer in C++: A Comprehensive Guide
    Dereferencing a pointer in C++ is the act of accessing the value stored at the memory address held by the pointer The most common way to dereference a pointer is by using the asterisk (*)





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