statement codes inside my if statement not executing Please paste the end of your do-while loop. I can see "do" but no "while" at the end. Maybe there's ...
statement codes inside my if statement not executing This condition [code]x >= img.cols && x <= img.cols && y >= img.rows && y <=img.rows[/code] is in f...
creating dynamic array that sums prime numbers To make sure you've got a valid array, add the following line before starting to accumulate the sum:...
creating dynamic array that sums prime numbers [code] bool is_prime(int number) { if (number < 1) return false; for (int divisor = number / 2; di...