O'Reilly logo

Cross-Platform GUI Programming with wxWidgets by Stefan Csomor, Kevin Hock, Julian Smart

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required