.. a ked vadi ze to bere hne dpo medzere, tak k tomu pouzit este fciu getline http://www.cplusplus.com/forum/articles/6046/