Chapter 14 Files and Streams
In this chapter, we’ll look at the classes that wxWidgets provides for low-level file access and streaming. wxWidgets’ stream classes not only protect your application from the idiosyncrasies of different standard C++ libraries but also provide a complete set of classes including compression, writing to zip archives, and even socket streaming. We’ll also describe wxWidgets’ virtual file system facility, which lets your application easily take data from sources other than normal disk files.
File Classes and Functions
wxWidgets provides a range of functionality for platform-independent file handling. We’ll introduce the major classes before summarizing the file functions.
wxFile and wxFFile
wxFile
may ...
Get Cross-Platform GUI Programming with wxWidgets now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.