I made a program that calculates the Fibonacci numbers in X and Y using Z as a helper.
When I pass the Fibonacci function vector to the imprime
function, it does not print. I made a test by putting cout
inside the for
of the calculation and I noticed that the error is precisely in the imprime
function, since cout
in the calculation does everything exactly as it had to do. I suspect that the problem is exactly in for
of imprime
.
I think this information will help: my imprime
function generates an error that I can not solve:
C4018 '