alrite, so I'm trying to use the select function to tail a file to see when it has information ready to be input, but it needs to know the file descriptor of the ifstream to be able to work. I've ...
Last week’s column looked at how we can read from and write to files by associated the files with user-defined file descriptors. This week, we take this idea a bit further. Closing File Descriptors In ...