Original Post
ok.. here''s a simple one.
i want to do something like this..
I know I can initiate the structure when i declare it, but I want to change the values like above. how do i do that?
struct A
{
int b[4][4];
};
int main()
{
A b;
b.b={{0,0,0,0},
{0,1,1,1},
{1,1,1,1},
{1,1,1,1}};
}
|