Posts by Higor Silva • 1 point
2 posts
-
0
votes1
answer30
viewsA: Vector C++ printing garbage
Edit: I was able to fix the bug. I was printing the variable inside a print on a for loop. I believe that’s it. Where was it for (int a = 1; a <= Qtd_enderecos; a++){ cout << "Posição "…
-
-1
votes1
answer30
viewsQ: Vector C++ printing garbage
Save it guys. I’m building a C++ cache simulator for a college job. While I was building and testing the code, I came across this mistake. The idea was for the user to set the number of addresses of…