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

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

Syd Logan

Cross-Platform improvement in C++ is the definitive consultant to constructing transportable C/C++ software code that might run natively on home windows, Macintosh, and Linux/Unix structures with out compromising performance, usability, or caliber.

Long-time Mozilla and Netscape developer Syd Logan systematically addresses all of the technical and administration demanding situations linked to software program portability from making plans and layout via coding, trying out, and deployment. Drawing on his large adventure with cross-platform improvement, Logan completely covers concerns starting from using local APIs to the most recent suggestions for moveable GUI improvement. alongside the way in which, he demonstrates find out how to in attaining characteristic parity whereas warding off the issues inherent to standard cross-platform improvement ways.

This ebook could be an necessary source for each software program expert and technical supervisor who's construction new cross-platform software program, porting current C/C++ software program, or making plans software program which could sometime require cross-platform support.

Build Cross-Platform purposes with no Compromise 
Throughout the ebook, Logan illuminates his options with life like situations and huge, downloadable code examples, together with an entire cross-platform GUI toolkit in response to Mozilla’s XUL so you might obtain, adjust, and research from. assurance includes 
* rules and approaches utilized by Netscape, permitting them to send internet browsers to hundreds of thousands of clients on home windows, Mac OS, and Linux
* supplying performance and interfaces which are constant on all structures
* realizing key similarities and changes between prime platform-specific GUI APIs, together with Win32/.NET, Cocoa, and Gtk+
* choosing while and while to not use local IDEs and the way to restrict their influence on portability
* Leveraging standards-based APIs, together with POSIX and STL
* heading off hidden portability pitfalls linked to floating aspect, char forms, info serialization, and kinds in C++
* using platform abstraction libraries reminiscent of the Netscape moveable Runtime (NSPR)
* setting up a good cross-platform computer virus reporting and monitoring system
* growing builds for a number of structures and detecting construct mess ups throughout structures once they occur
* figuring out the local runtime atmosphere and its influence on installation
* using wxWidgets to create multi-platform GUI purposes from a unmarried code base
* completely checking out program portability
* figuring out cross-platform GUI toolkit layout with Trixul

Show sample text content

Download sample