- Code: Select all
for (f = 1 ; f <= 10 ; f ++) {
for (h = 1 ; h <= 10 ; h ++) {
if (block_value[f] + block_value[h] == totaldie) roll_true = 1;
}
}
When I try to run it, it tells me there is an error on line 3: "READ attempted beyond allowed access area." I'm not sure what that means. Could someone tell me what I'm doing wrong! Thanks!