Vedi qua: http://stackoverflow.com/questions/2...ng-fflushstdin