cost 352 ms
reading EOF as a char in C

I know it might sound stupid but how can I exit this loop ? I'm reading a book and trying to do the following exercise: "Verify that the expression ...

2022-09-13 16:47:16   5   89    c / eof / getchar  
Weird behavior of getchar()

Currently, I am doing a project in c language in which I have to write a while loop to constant receive either keyboard input or joystick input. The j ...


 
粤ICP备18138465号  © 2020-2025 STACKOOM.COM