pointer to an array OF pointers to integer data types 
Author Message
 pointer to an array OF pointers to integer data types

Yes.
--
Hypertext C-FAQ: http://www.*-*-*.com/ ~scs/C-faq/top.html
C-FAQ ftp: ftp://rtfm.mit.edu, C-FAQ Book: ISBN 0-201-84519-9
Try "C Programming: A Modern Approach" ISBN 0-393-96945-2
Want Software?  Algorithms?  Pubs? http://www.*-*-*.com/

Quote:

>Do you know how to write a C declaration statement for a pointer to an array
>of pointers to integer data types??



Tue, 12 Sep 2000 03:00:00 GMT  
 pointer to an array OF pointers to integer data types


Quote:
> Do you know how to write a C declaration statement for a pointer to an array
> of pointers to integer data types??

        metroid$ cdecl
        cdecl> declare x as pointer to array of pointer to integer
        int *(*x)[]

'cdecl' is a nice program. :)  The C FAQ has a few pointers to where it
can be found.

--
(initiator of the campaign for grumpiness where grumpiness is due in c.l.c)

Attempting to write in a hybrid which can be compiled by either a C compiler
or a C++ compiler produces a compromise language which combines the drawbacks
of both with the advantages of neither.



Tue, 12 Sep 2000 03:00:00 GMT  
 pointer to an array OF pointers to integer data types

Do you know how to write a C declaration statement for a pointer to an array
of pointers to integer data types??

Please got back to me ... thanks



Wed, 13 Sep 2000 03:00:00 GMT  
 pointer to an array OF pointers to integer data types

: Do you know how to write a C declaration statement for a pointer to an array
: of pointers to integer data types??

int *(*foo)[10];

You need to point to an array of specified size; or simply use
a generic pointer, 'int **foo;'

Will



Wed, 13 Sep 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Dereferencing f-pointers, arrays of f-pointers, pointers to f-pointers

2. type casting to / from pointers to incomplete data types

3. type casting to / from pointers to incomplete data types

4. Pointer of Pointers was Pointer of arrays...

5. Pointers: return of pointer to array of pointers to main

6. Array of pointers, pointer to array...

7. array pointer/pointer array

8. arrays pointers array of pointers

9. converting an char pointer to an integer pointer

10. Newbie: Declaring and Accessing Array of Integer Pointers

11. Integer Arrays and pointers

12. cast pointer to struct to pointer to type of first member of struct

 

 
Powered by phpBB® Forum Software