c++ Programming Glossary: stdiofile
Do programmers of other languages, besides C++, use, know or understand RAII? http://stackoverflow.com/questions/165723/do-programmers-of-other-languages-besides-c-use-know-or-understand-raii is initialisation here's a motivational example. class StdioFile FILE file_ std string mode_ static FILE fcheck FILE stream if.. dup file descriptor return fdopen dupfd mode_.c_str public StdioFile char const name char const mode file_ fcheck fopen name mode.. char const mode file_ fcheck fopen name mode mode_ mode StdioFile StdioFile const rhs file_ fcheck rhs.fdup mode_ rhs.mode_ ~StdioFile..
|