Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Tipi di dato non a oggetti
- // La seguente struttura dati definisce il dipendente normale
- typedef struct Dipendente {
- char* nome;
- char* cognome;
- char* codiceFiscale;
- } Dipendente;
- // La seguente struttura dati definisce il dipendente vip.
- // A causa della non orientazione a oggetti di questo linguaggio (C)
- // Devo ri definire tutto da capo
- typedef struct DipendenteVip {
- char* nome;
- char* cognome;
- char* codiceFiscale;
- int vipCode;
- } DipendenteVip;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement