¡@

Home 

c++ Programming Glossary: filehandle

Understanding the meaning of the term and the concept - RAII (Resource Acquisition is Initialization)

http://stackoverflow.com/questions/712639/understanding-the-meaning-of-the-term-and-the-concept-raii-resource-acquisiti

whenever I return . Let us start with an overly simplistic FileHandle class employing RAII class FileHandle FILE file public explicit.. an overly simplistic FileHandle class employing RAII class FileHandle FILE file public explicit FileHandle const char name file fopen.. employing RAII class FileHandle FILE file public explicit FileHandle const char name file fopen name if file throw MAYDAY MAYDAY..