Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

array2d

18 views
Skip to first unread message

e10022

unread,
May 7, 2015, 1:16:03 AM5/7/15
to
hi, idon't know how to declare array2d in a struct


Barry Schwarz

unread,
May 7, 2015, 2:21:48 AM5/7/15
to
On Thu, 07 May 2015 00:15:53 -0500, e10022 <emanahm...@gmail.com>
wrote:

>hi, idon't know how to declare array2d in a struct

struct x
{
int y[3][4];
} z;
z.y[1][2] = 42;

--
Remove del for email
0 new messages