Hi all,
Is there a easy way to copy an array to an array in a struct like following:
struct pailie
{
int ThisPailie[9];
int ThisZhongJie[8];
int ThisXuHao;
};
void main()
{
int m[9]={1,8,3,5,4,7,6,1,9};
for (i=0;i<9;i++)
pl.ThisPailie[i]=m[i];//COLOR=red]Is there a easy way to do this?[/COLOR]
Thanks a lot.