I try to debug the code with visual studio but when executing it step by step I change the window to a call ostream
and I do not know what that is. Can you debug the code without having to go through the ostream
window?
For example, in this code it does that to me, and in other IDE it does not ...
#include<iostream>
using namespace std;
int main()
{
int N, resultado=0, vector[100];
cout << "Numero de veces: " << endl;
cin >> N;
for (int i = 0; i < N; i++) {
vector[i] = i + 1;
resultado = resultado + i;
for (int j = 0; j <= i; j++) {
cout << vector[j];
if (j != i) {
cout << "+";
}
else {
cout << "=";
}
}
cout << resultado+vector[i] << endl;
}
return 0;
}