//implementazione: coda.cpp
//torna a main.cpp
#ifndef coda_h
#define coda_h
#include <iostream>
typedef bool boolean;
typedef int tipoelem;
const int maxlungcoda=100;
class Coda{
public:
Coda();
~Coda();
void creaCoda();
boolean codaVuota();
tipoelem leggiCoda();
void fuoriCoda();
void inCoda(tipoelem a);
private:
tipoelem elementi[maxlungcoda];
int testa;
int lunghezza;
};
//coda.cpp
#endif //coda.h