Advertisement
Guest User

manoscritto.h

a guest
Jan 31st, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.61 KB | None | 0 0
  1. #ifndef _MANOSCRITTO_H
  2. #define _MANOSCRITTO_H
  3. #include <iostream>
  4. #include <cstring>
  5.  
  6. using namespace std;
  7.  
  8. class Manoscritto{
  9.       protected:
  10.          int Codice;
  11.          char * Autore;
  12.          int numpag;
  13.          char * Formato;
  14.       public:
  15.          Manoscritto(const int C=0, const char * A="", const int N=0, const char * F="");
  16.          Manoscritto(const Manoscritto &);
  17.          virtual void visualizza_dati() const;
  18.          virtual void memorizza_dati();
  19.          friend void scrivi(const char *);
  20.          virtual ~Manoscritto()  {delete [] Autore; delete [] Formato;}
  21.          };
  22.  
  23. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement