00001
00002 #ifndef IOs_h
00003 #define IOs_h
00004 #include "header.h"
00005 #include <fstream>
00006
00007 using namespace std;
00008
00010
00019 class IOs
00020 {
00021 protected:
00023
00029 fstream stream;
00030
00032
00036 int contatore;
00037
00039
00044 bool buffer[8];
00045
00047
00055 int elevato (int a, int b);
00056
00057 public:
00059
00073 IOs(const char* file, frequenza** v, int n);
00074
00076
00078 ~IOs();
00079
00081
00093 void inserisci (int b);
00094
00096
00103 void svuota ();
00104 };
00105
00106 #endif
00107