When we use new to allocate an array of zero size, new returns a valid, nonzero pointer.
用new动态创建长度为0的数组时,new返回有效的非零指针。
When we drop it, the response is so fast that you will see, indeed, that pointer go to zero Now, keep in mind, when it hits the cushion that the weight will go up.
下坠时,由于反应非常快,你们马上会看到指针归零,此外记住,落地时,重量还会增加。
Values of this type can now be allocated using the built-in function new, which returns a pointer to the value in memory with all slots initialized to the zero value.
现在这一类型的值可以通过内建的函数new来分配,这将返回一个指针,指向一块内存单元,其所占内存槽初始化为零。
应用推荐