Why I can not see output in cycle (C++ simple code)?
Advertisements I would like to edit numbers in p2 according to the code in for cycle. But If I try to write out actual number in p2, I don´t see anything in output. What could I change to see it? #include <iostream> using namespace std; int main() { int p1[10]={-5,-8,0,5,0,-8,-11,-2,1,-7}; int p2[10]={0,0,0,0,0,0,0,0,0,0}; for(int i; i… Read More Why I can not see output in cycle (C++ simple code)?