Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!ut-emx!ibmchs!d75!cello!shaffer!jcrowe From: jcrowe@shaffer.UUCP (Joe Crowe) Newsgroups: comp.lang.c Subject: C pointers Keywords: C Message-ID: <1707@shaffer.UUCP> Date: 9 Feb 89 20:28:05 GMT Organization: IBM AWD, Austin, TX Lines: 22 Consider this a niave question. I have a structure which contains among other things a pointer to an array of structures declared as follows: typedef struct XYZ { . . . struct diag_cmd (*p_cmd_blk)[]; . . } t_xyz; I am allocating storage for the above structures dynamically and setting the pointer p_cmd_blk manually. All of this works. But when I try various methods of accessing a structure member one of the array of structures I am getting compiler errors. I have tried most combinations but with no luck. Any ideas?? Thanks in advance. Joseph Crowe