Skip to content

Commit

Permalink
Voltar para o menu depois de ListarGerentes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonixbr committed Nov 25, 2019
1 parent 3e6eda0 commit 30b36c1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/administrador.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@ int Administrador::Menu(){
else if(aux_acesso == 4){
system("clear");
SessaoAdmin->ListarGerentes();
int j;
std::cout << "Digite qualquer numero para voltar ao menu" << std::endl;
std::cin >> j;
std::string j;
std::cout << "Digite qualquer caractere para voltar ao menu" << std::endl;
std::cin.ignore();
std::getline(std::cin,j);
SessaoAdmin->Menu();
}

Expand Down

0 comments on commit 30b36c1

Please sign in to comment.