Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

EOF character in Windows

$
0
0

I was trying to use the fread() function to take a chunk of input. fread looks for EOF character to detect the end of input so when I was trying to manually provide input at the terminal I was not able to terminate the input since I did nor know what the EOF for windows is. If I remember correctly n linux when I press Ctrl+Z it terminates the input and provides the o/p, but in windows Ctrl+Z was also not working.

Kindly Help.


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>