Originariamente inviato da kNemo
Nella scanf() , se usi le stringhe non ci va' '&'...
quindi diventa scanf("%s", stringa); ma non penso sia il problema....

Invece di scanf() per le stringhe usa gets() perche' scanf() non prende gli spazi....

gets (stringa);
:master:


Never use gets(). Because it is impossible to tell with-
out knowing the data in advance how many characters gets()
will read, and because gets() will continue to store char-
acters past the end of the buffer, it is extremely danger-
ous to use. It has been used to break computer security.
Use fgets() instead.