|
蓝森林 http://www.lslnet.com 2006年6月6日 10:18
c++programming language 上的题
(*1) Use t y p e d e f to define the types u n s i g n e d c h a r , c o n s t u n s i g n e d c h a r , pointer to integer,
pointer to pointer to c h a r , pointer to arrays of c h a r , array of 7 pointers to i n t , pointer to an array
of 7 pointers to i n t , and array of 8 arrays of 7 pointers to i n t .
typedef 一个指针数组以及后面的都搞不定。
typedef char*[] cap;
typedef int[7] * iap;
typedef int[7] ** iapp;
typedef int[8] [7]* iaap;
全是错的。
高手指教。 |
| |