Posts by Thiago Inocêncio • 51 points
3 posts
-
2
votes2
answers94
viewsA: How to omit char matrix size in the function?
Hello, you can do this in two ways. The first is to use vector notation within the function parameters: mostrarMensagem(char msg[]) { cout << msg; } mostrarMensagem("oi"); In this case the…
-
1
votes1
answer72
viewsA: c++problem: Selection Sort
Hello, when you check whether the smallest element in the Vector[i.. TAM] sub-vector is the Vector[i] element itself, you are using the code: if(i != menor) aux=vetor[i]; vetor[i] = vetor[menor];…
c++answered Thiago Inocêncio 51 -
2
votes3
answers1022
viewsA: You’re a builder, right?
Hello, using various constructor methods enables you to build objects in many ways. That way, once you have declared this constructor: public Conta(Correntista correntista, String senha, double…