char string [100];

fgets (string , 100 , stdin);

Prova in questo modo