C++ Programming Tutorial #19 : Reading from stdin, writing to stdout. & "EOF"

Опубликовано: 25 Август 2026
на канале: Alan Carre
2,555
8

Watch Entire Series: http://www.youtube.com/view_play_list...

In this section we learn how to read characters one at a time from stdin, and use the special "End of file" marker to determine when to quit. I've also included a ".c" equivalent program for comparison, that doesn't actually do exactly what our example does. In fact our 24 byte program does a little more than the 45,056 byte c program does, after "compile and link"; two operations left unexplained in this section.