usare gets() e' un metodo pessimo. E' molto insicura e oltrettutto si può fare di meglio. Usa un loop con cin.get() cosi:
for (char ch = 0, i = 0; ch != '\n', ++i)
cd.titolo[i] = ch;
bye
usare gets() e' un metodo pessimo. E' molto insicura e oltrettutto si può fare di meglio. Usa un loop con cin.get() cosi:
for (char ch = 0, i = 0; ch != '\n', ++i)
cd.titolo[i] = ch;
bye
There are 10 kinds of people in the world: who knows the binary numeration and who not