wie man bis zum Ende der Linie in C eingibt

while((scanf("%d",&n)) != EOF) { printf("%d",n); //other operations with n.. }
Amused Aardvark