Scanf ignorieren neue Zeile

scanf("%[^\n]s",str)
Smiling Skunk