//
//  pila.h
//  pila_131031
//
//  Created by Paolo on 31/10/13.
//  Copyright (c) 2013 dib. All rights reserved.
//

//implementazione: pila.cpp
//torna a main.cpp


#ifndef pila_131031_pila_h
#define pila_131031_pila_h


#include <iostream>
typedef bool boolean;
typedef int tipoelem;
const int MAXELEM=100;

class Pila{
private:
    tipoelem elementi[MAXELEM];
    int testa;
    
public:
    void creaPila(); //opzionale
    boolean pilaVuota();
    tipoelem leggiPila();
    void fuoriPila();
    void inPila(tipoelem);
    
    Pila();
    ~Pila();
};
//  [1] [2] [3] [] [] [] [] [] [] []
#endif