由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - what does this statement mean?
相关主题
what's the purpose of pointer to pointers?不如各位高手挑个专题讲讲C++11吧
Why do I need to use "plain" pointer?Go adopts JavaScript’s idea of semicolon insertion
is smart_ptr really that good?Array in C
pointer overflow总是搞不清c++里面函数前头和后头的const...
C++ Q05: pointer to constant variable有什么工具可以检查内存泄漏么
C++ Q93 - Q95 (转载)一个C#使用C++.NET类库的问题
int F::*x = &F::x是什么意思?difference between: char** p and char*p[] ??
c++ 里用到pointer 的地方我们尽可能用smart pointer吗?C++ pointer problem
相关话题的讨论汇总
话题: pointer话题: what话题: mean话题: does话题: array
进入Programming版参与讨论
1 (共1页)
c***g
发帖数: 472
1
C++ cannt distinguish between a pointer-to-a-thing and a pointer-to-an-array
-of-things.
What does it mean?
Any explaination?
Thanks very much!
k****f
发帖数: 3794
2
A* p;
A a, b[10];
p=&a;//pointer to a thing
p=b; //pointer to an array.
你不知道p是指向一个元素,还是一个数组。

array

【在 c***g 的大作中提到】
: C++ cannt distinguish between a pointer-to-a-thing and a pointer-to-an-array
: -of-things.
: What does it mean?
: Any explaination?
: Thanks very much!

1 (共1页)
进入Programming版参与讨论
相关主题
C++ pointer problemC++ Q05: pointer to constant variable
C++中怎么传递std::hex这样的参数啊C++ Q93 - Q95 (转载)
请问:Auto_Ptr、Smart Ptr 和 Reference Counting是什么关系? (转载)int F::*x = &F::x是什么意思?
what's wrong with this C++ code?c++ 里用到pointer 的地方我们尽可能用smart pointer吗?
what's the purpose of pointer to pointers?不如各位高手挑个专题讲讲C++11吧
Why do I need to use "plain" pointer?Go adopts JavaScript’s idea of semicolon insertion
is smart_ptr really that good?Array in C
pointer overflow总是搞不清c++里面函数前头和后头的const...
相关话题的讨论汇总
话题: pointer话题: what话题: mean话题: does话题: array