O'Reilly logo

Cross-Platform Development in C++: Building Mac OS X, Linux, and Windows Applications by Syd Logan

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

5. Operating System Interfaces and Libraries

In this chapter, we turn our attention to code, which will remain our focus for the rest of this book. As stated earlier, abstraction is a common theme in this book. Without the proper application of abstraction, it is difficult to build portable software. This idea is not new. A well-known example of the power of abstraction can be found by looking back over three decades ago, to when the UNIX operating system was ported to the C programming language. (C was invented just for this task.) Prior to C, UNIX was coded in assembly language, making it anything but portable, and this inhibited its migration to architectures beyond its original incarnation, the PDP/11. The use of C, and its libraries, provided ...

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