Have one to sell? Sell yours here
Standard C++ IO Streams and Locales: Advanced Programmers Guide and Reference
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Standard C++ IO Streams and Locales: Advanced Programmers Guide and Reference [Hardcover]

Angelika Langer , Klaus Kreft


Available from these sellers.


Formats

Amazon Price New from Used from
Hardcover --  
Paperback £40.79  
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Plus, get an extra £5 Gift Certificate when you trade in books worth £10 or more before June 30, 2012. Visit the Books Trade-In Store for more details.

Product details


More About the Author

Angelika Langer
Discover books, learn about writers, and more.

Visit Amazon's Angelika Langer Page

Product Description

Amazon.co.uk Review

Aimed at the advanced C++ programmer, Standard C++ IOStreams and Locales explains the internals of how C++ streams work, along with support for internationalisation. This is a book for those who need to see the inner details of architecture and design of these important built-in C++ objects, as well as a reference to all relevant classes and methods.

This book examines the inner workings of the entire stream class library in today's Standard C++. It succeeds in two ways. First, the authors explain the design principles and inner workings on these stream classes, whether for simple console or file I/O, or for more advanced topics like memory streams. There is coverage of I/O basics (with coverage of manipulators, stream flags and other built-in features) for everyday programming with streams. But besides the fundamentals, the authors excel at delving into the nitty-gritty details of these classes (which most of us know only on the surface). Examples here include a custom date class that will cooperate with existing stream libraries and creating new "facets"--output rules that customise data for particular languages or "locales".

Besides an in-depth guide to what streams do by default and some hints for adding your own classes to work with them, this text also contains over 200 pages of reference material on every C++ stream and locale class, organised by header files. (These sections will arguably be the most useful for the working C++ developer.)

Like the support for template classes, the Standard Library's support for streams is powerful but, until now anyway, not easily available to ordinary programmers. For anyone who already knows the fundamentals of streams and is seeking to do more, this title can definitely fill a useful niche with an authoritative and densely packed source of technical detail on these built-in C++ classes. --Richard Dragan, amazon.com

Topics covered: Standard C++ predefined streams, input and output operators, manipulators, locale basics, formatted input, stream state flags, file streams, in-memory I/O, stream positioning, synchronising streams, stream class architecture, stream buffer classes, character types, wide character support, stream and stream buffer iterators, custom stream classes for user-defined types, inserters and extractors, user-defined manipulators, customizing stream and stream buffer classes, internationalisation and localisation, standard facets, user-defined facets, stream and locale class reference.

Product Description

IOStreams and Locales are two of the most important, eagerly-awaited components of the ISO/ANSI C++ standard -- and this is the first book to cover them exclusively, and in great depth. The authors explain the problems that IOStreams and Locales solve; then present a wide range of examples and techniques, from simple to sophisticated. The authors introduce concepts, component architecture, standards-compliant code, and practical patterns of use. Coverage includes: key differences between standard IOStreams and the non-standard versions that preceded it; how to extend the Locales component for more effective internationalization; and more. The book also includes a complete, authoritative class reference. Experienced developers can use the book as a start-to-finish learning tool, or as a handy "just-in-time" reference for specific techniques.


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  19 reviews
17 of 17 people found the following review helpful
Hidden Treasures 2 Feb 2001
By Klaus Wittlich - Published on Amazon.com
Format:Hardcover
The reason why I bought this book was the wish to learn more about the C++ Standard. When I held the book in my hand the first time I was not shure if it would be worth the time reading it. It seemed only be useful for a DOS - like software, not for my GUI problems.

So I was very surprised in a good sense to read about ideas how to use IOStreams for GUI - internationalization (I18N), described on pages 175 and 225. The IOStreams library, as it is described by the authors, is a better answer to my I18N - problems than all other three GUI - libraries I know. It offers more flexibility.

An other treasure was the techniqe of two-phase polymorphic dispatch described in this excellent book. This technique allows me a much more flexible design than in the past. If the customer asked for new features I often had to change my class hierarchy (and all classes in it) by adding new virtual functions. It is cumbersome if it is code of a library. The two-phase polymorphic dispatch shows an alternative.

The third (but not the last) treasure are the appendices. They are a good reference for C++ refinements.

The thought I perhaps would not have read this book worries me, I had missed a chance.

Many thanks to the authors writing such an excellent book.

22 of 25 people found the following review helpful
Required Ownership for C++ programmers 2 May 2000
By G. Powell - Published on Amazon.com
Format:Hardcover
This book is it. There is no other text which covers the full I/O Streams library as of the ISO C++99 standard. B. Stroustrup's book "The C++ Programming language" has one chapter of 50+ pages on streams. Its enough to get you started, but not enough if you want to make roll your own. Your other choice is to comb back issues of C++ Report and C/C++ User's Journal for the relevent information. (And know enough to ignore the articles that do it wrong. Ok maybe wrong is too strong a word, but now that you have the option to understand how the streams library is built you can use it the way it was intended.)

There is now no reason ANY programmer should create a new ostream class by inheriting from basic_ostream<>. The I/O streams library was designed to be extended by programmers. Read this book and learn how to do it so that you don't have to re-write every sub member as a forward to the actual class.

As for Locales, there is a chapter in the latest version of B.S's book as an Appendix. Or about 1/4th of this book is devoted to how that mechanism works.

Buy it. You need it. Without it you are programming by guess and by golly.

8 of 8 people found the following review helpful
Best book on iostreams 11 Mar 2000
By A Customer - Published on Amazon.com
Format:Hardcover
Calling this book "good" is an under statement. There is simply no other book that covers the iostream library to the level of detail found here. This is just an awesome book.

The text has been a joy to read. Not exactly light reading but worth it. This book serves well as a tutorial and reference guide to the iostream. I haven't yet read the section on Locales but expect it to be of the same caliber.

The last time a C++ book had such an impression was "The Annotated C++ Reference Manual" of many years ago. This book ranks right up there.

Clearly, serious C++ developers will want to have this book in their C++ reference collection.


Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback