hi all,
is there anyway to remove a value of a variable with something like void so input can be assigned to it again?
what i mean is
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
e = 0;
while (e <= m) {
in >> x >> y;
if (0<x<= n, 0<y<=n) {
quadrant1++;
}
elseif ((n+1)<=x<=2*n, 0<y<=n) {
quadrant2++;
}
elseif (0<x<=n, (n+1)<=y<=2*n) {
quadrant3++;
}
else quadrant4++; {}
e++;
}
is there a way i can remove the values of x and y to get new input.
its getting input from a seperate file other than that on my computer.
dont worry about the superflous lines i have in there either.
thanks for the help