
08.11.2006, 19:40
|
|
Познающий
Регистрация: 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')
|
|
|