MFC Example: CFile and Creating a File, Open, Write, CFile::modeCreate, ... and it indirectly supports text files and memory files through its derived classes.
www.google.com.tw