Posts by Gabriel Castro • 43 points
1 post
-
4
votes1
answer101
viewsQ: Pass by reference printing garbage in the vector
Guys, I made a simple code, but I have a problem. I made a function "increase" to increase the size of a vector; the function receives the vector and passes the values of that vector to an auxiliary…