[Solved] Array has more values than expected
[ad_1] for(int i = 0; ; i++) When does your loop end?!?!? Your second condition in for (the testing expression) is evaluated as true (at least as long as i<4). You need for(int i = 0; i < 4 ; i++) Otherwise it may break anytime after i>=4, but not before, since all components of … Read more