|
From: Peter P. <pet...@ya...> - 2005-08-19 17:06:31
|
Hi This piece of code works in Dev-C++: int a[10],b[10]; a=b; /* array to array assignment */ Why does it work? I experimented a little bit and found out, that it really copies one array to another. I think ANSI C forbids this. And it doesn't work with other compilers I tried (MS VC++, Borland C++ for DOS). I was googling some our, but found nothing about this feature. Any explanation? Thx Peter __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |