C equivalent to fstream's peek
-
21-09-2019 - |
문제
I know in C++, you're able to peek at the next character by using: in.peek();
.
How would I go about this when trying to "peek" at the next character of a file in C?
다른 팁
You could use a getc
followed by an ungetc
제휴하지 않습니다 StackOverflow