Ungetc - overview

Nasza ocena:

3
Wyświetleń: 784
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Ungetc  - overview - strona 1

Fragment notatki:

Ungetc Pushes a character back i nto input stream int ungetc(int c, FILE *stream); • Pushes the character c back (!) to the input stream, which must be open for reading • This character will be returned on the next call to getc or fread for that stream • One character can be pushed back • A second call to ungetc without a call to getc will force the previous character to be forgotten. • A call to fflush , fseek , fsetpos , or rewind erases all memory of any pushed-back characters. ... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz