Advertisement
Mac2179

Funcion Menu

May 6th, 2024
738
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | Gaming | 0 0
  1. #include <iostream>
  2. #include<wchar.h>
  3. #include<locale.h>
  4. #include<clocale>
  5. #include<cstdlib>
  6. #include<time.h>
  7. #include<string.h>
  8. #ifndef BORRADORJUEGO_H_INCLUDED
  9. #define BORRADORJUEGO_H_INCLUDED
  10.  
  11. using namespace std;
  12.  
  13.  
  14. void linea(){
  15.  cout<<"---------------------"<<endl;//Linea multiuso
  16. }
  17. void menu(){//Menu General del Juego
  18.     cout<< "GRAN CERDO" << endl;
  19.     linea();
  20.     cout<< "1 - JUGAR" << endl;
  21.     cout<< "2 - ESTADISTICAS" << endl;
  22.     cout<< "3 - CERDITOS" << endl;
  23.     linea();
  24.     cout<< "0 - SALIR" << endl << endl;
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement