passing an array structure as an array
Posted
by Matias
on Stack Overflow
See other posts from Stack Overflow
or by Matias
Published on 2010-04-27T00:29:48Z
Indexed on
2010/04/27
0:43 UTC
Read the original article
Hit count: 250
I'm having trouble passing a structure array as a parameter of a function
struct Estructure{
int a;
int b;
};
and a funtion
Begining(Estructure &s1[])
{
//modifi the estructure s1
};
and the main would be something like this
int main()
{
Estructure m[200];
Begining(m);
};
is this valid?
© Stack Overflow or respective owner