Guest User

Untitled

a guest
Jun 21st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. char path[256]; //Dichiaro variabili
  2. int *vet[100];
  3. int riemp = 1;
  4. int max;
  5. int contatore = 0;
  6.  
  7. void carica_vet(char path[], int *vet, int &riemp);
  8. void stampa_vet(int*vet, int &riemp);
  9. void ricerca_max(int*vet[], int &riemp, int &max, int &contatore);
  10.  
  11.  
  12. int main()
  13. {
  14.  
  15.  
  16. carica_vet(path, vet, riemp);
  17. stampa_vet(vet, riemp);
  18. ricerca_max(vet, riemp, max, contatore);
Add Comment
Please, Sign In to add comment