Well as you know a handle is used to pick up a cup, kettle, a garden fork, etc.
So in the context of programming a handle is much the same thing, with the exception that the handles are attached to devices. Printers, Screen, Files etc.
If you open a file for example you will get a file handle in return. You then use this file handle gain access to the file stream, for reading and writing. The same handle is used to close the stream as well.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.