getting a stream of -1 when I pass EOF in an infinite getchar printf loop
getting a stream of -1 when I pass EOF in an infinite getchar printf loop
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(stackoverflow.com/users/29604030/saberton)saberton
(stackoverflow.com/users/12149471/andreas-wenzel)Andreas Wenzel
(stackoverflow.com/users/589924/ikegami)ikegami
(stackoverflow.com/users/1491895/barmar)Barmar
(stackoverflow.com/users/984823/joop-eggen)Joop Eggen
A special thanks goes out to the (stackoverflow.com/questions/79431306/getting-a-stream-of-1-when-i-pass-eof-in-an-infinite-getchar-printf-loop)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
printf putchar kernighan-and-ritchie getchar c