Показать сообщение отдельно

  #3  
Старый 08.11.2006, 19:40
Pochka
Познающий
Регистрация: 26.11.2005
Сообщений: 32
Провел на форуме:
47872

Репутация: 20
По умолчанию

Цитата:
Сообщение от Qwazar  
З.Ы.
А почему \x00 не воспринимается как конец строки и gets() продолжает считывать?
RTFMSDN

Цитата:
The gets function reads a line from the standard input stream stdin and stores it in buffer. The line consists of all characters up to and including the first newline character ('\n'). gets then replaces the newline character with a null character ('\0')