The memory view allows you to examine and modify the contents of memory at a specific address, usually that of a variable.
内存视图允许您去检查并更改特定地址处内存的内容,通常是一个变量。
The solution is to cast the address of the floating point variable to a pointer to an int, which is then de-referenced as shown below.
解决方案是将浮点变量的地址强制转换成一个指向整型类型的指针,如下所示。
In this case, there's a single variable, named people, and the value is the array containing three items, each of which is a person record with a first name, a last name, and an e-mail address.
在这个示例中,只有一个名为 people的变量,值是包含三个条目的数组,每个条目是一个人的记录,其中包含名、姓和电子邮件地址。
So, when you want to figure out the address & of a variable, you say ampersand.
当你想得到一个变量的地址,你可以指明。
Well, get string again is returning the address of the string the user typed in, D the address of the very first character like the letter D and storing that address in this variable s1.
好的,GetString返回的是,用户输入的字符串的地址,第一个字符的地址,比如字母,然后把这个地址存储在这个变量s1中。
应用推荐