蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 应用编程


    

蓝森林 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;

全是错的。

高手指教。



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com