Beh, per curiosità ho provato a compilarlo (con MS VC++ 2008) e mi da' warning ed errori ... a parte le questioni di sicurezza, ce ne sono tanti, quindi concordo sul fatto che dovresti cambiare compilatore ...

Avviso 1 warning C4091: '': ignorato a sinistra di 'int' quando non si dichiara alcuna variabile c:\vcapps\test\x12\x12\x12.cpp 25 x12
Avviso 2 warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\vcapps\test\x12\x12\x12.cpp 37 x12
Avviso 3 warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\vcapps\test\x12\x12\x12.cpp 44 x12
Avviso 4 warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\vcapps\test\x12\x12\x12.cpp 48 x12
Avviso 5 warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\vcapps\test\x12\x12\x12.cpp 60 x12
Errore 6 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 64 x12
Errore 7 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 69 x12
Errore 8 error C2228: l'elemento a sinistra di '.cognonome' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 69 x12
Errore 9 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 70 x12
Errore 10 error C2228: l'elemento a sinistra di '.giorno' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 70 x12
Errore 11 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 71 x12
Errore 12 error C2228: l'elemento a sinistra di '.mese' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 71 x12
Errore 13 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 72 x12
Errore 14 error C2228: l'elemento a sinistra di '.stanza' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 72 x12
Errore 15 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 73 x12
Errore 16 error C2228: l'elemento a sinistra di '.notti' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 73 x12
Errore 17 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 74 x12
Errore 18 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 82 x12
Errore 19 error C2228: l'elemento a sinistra di '.cognonome' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 82 x12
Errore 20 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 83 x12
Errore 21 error C2228: l'elemento a sinistra di '.giorno' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 83 x12
Errore 22 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 84 x12
Errore 23 error C2228: l'elemento a sinistra di '.mese' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 84 x12
Errore 24 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 85 x12
Errore 25 error C2228: l'elemento a sinistra di '.stanza' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 85 x12
Errore 26 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 86 x12
Errore 27 error C2228: l'elemento a sinistra di '.notti' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 86 x12
Errore 28 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 88 x12
Errore 29 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 94 x12
Errore 30 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 94 x12
Errore 31 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 94 x12
Errore 32 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 95 x12
Errore 33 error C2228: l'elemento a sinistra di '.cognonome' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 95 x12
Errore 34 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 95 x12
Errore 35 error C2228: l'elemento a sinistra di '.giorno' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 95 x12
Errore 36 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 95 x12
Errore 37 error C2228: l'elemento a sinistra di '.mese' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 95 x12
Errore 38 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 95 x12
Errore 39 error C2228: l'elemento a sinistra di '.stanza' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 95 x12
Errore 40 error C2065: 'i': identificatore non dichiarato c:\vcapps\test\x12\x12\x12.cpp 95 x12
Errore 41 error C2228: l'elemento a sinistra di '.notti' deve avere una classe, struttura o unione c:\vcapps\test\x12\x12\x12.cpp 95 x12