The Artima Developer Community
Sponsored Link

Weblogs Forum
C++ Cookbook from O'Reilly

9 replies on 1 page. Most recent reply: Nov 16, 2005 8:02 AM by Dan Pidcock

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 9 replies on 1 page
Christopher Diggins

Posts: 1215
Nickname: cdiggins
Registered: Feb, 2004

C++ Cookbook from O'Reilly (View in Weblogs)
Posted: Nov 15, 2005 7:01 AM
Reply to this message Reply
Summary
The C++ Cookbook, which I cowrote with Ryan Stephens, Jonathan Turkanis, and Jeff Cogswell, is now for sale at Amazon.com and other book sellers.
Advertisement
The C++ Cookbook, is a collection of over a hundred recipes for common programming tasks from building a DLL, to parsing XML. The full list of recipes can be seen at www.cpp-cookbook.com, and a downloadable chapter should be posted here at Artima.com soon. I was responsible for the chapters on dates and times, and science and mathematics.

I am particularly proud of this book, because unlike many C++ books it is isn't a boring old reference. Nor is it a list of things that you shouldn't do with C++. In my opinion, it is usually more useful, and more difficult, to say how to accomplish a task, than to say how not to accomplish a task.

On another note, you may notice I have changed my blog bio. It apparently rubbed people the wrong way that I mentioned I was looking for work, well that along with my general charming persona which I can't change. So I dropped the line about work. Hopefully the new bio isn't seen as being quite as self-promotional.


Max Lybbert

Posts: 314
Nickname: mlybbert
Registered: Apr, 2005

Just curious Posted: Nov 15, 2005 11:30 AM
Reply to this message Reply
Reading the table of contents, did O'Reilly have a particular audience in mind when creating this book? The book covers "defining a macro" (1.19) and "writing your own stream manipulators" (10.3).

Yes, part of that is the natural progression from easy things in chapter 1 to harder things later on. But even within chapters it appears that some things are targeted at programmers just out of "C++ For Dummies," and other things are included because the obvious way has hidden pitfalls.

The only reason I'm bringing this up is that I'm trying to figure out what percentage of the book would be useful to me. Clearly I'm the only one who can answer that. It looks like I'll have to wait 'till my local bookstore carries it before I have the information I need to make the judgement.

Christopher Diggins

Posts: 1215
Nickname: cdiggins
Registered: Feb, 2004

Re: Just curious Posted: Nov 15, 2005 12:33 PM
Reply to this message Reply
> Reading the table of contents, did O'Reilly have a
> particular audience in mind when creating this book?

The audience would probably be best described as non-experts. We tried to write recipes for people without much experience with C++, and not much time to study the language thoroughly.

Kristian Dupont

Posts: 22
Nickname: chryler
Registered: Dec, 2003

Re: C++ Cookbook from O'Reilly Posted: Nov 15, 2005 3:16 PM
Reply to this message Reply
This looks like a book that I would have really liked to have a few years ago. Kudos.

Christopher Diggins

Posts: 1215
Nickname: cdiggins
Registered: Feb, 2004

Re: C++ Cookbook from O'Reilly Posted: Nov 15, 2005 3:18 PM
Reply to this message Reply
> This looks like a book that I would have really liked to
> have a few years ago. Kudos.

Thanks, that is kind of you to say. I'll pass that on to the primary author Ryan Stephens who wrote the lion's share of the book.

Christopher Diggins

Posts: 1215
Nickname: cdiggins
Registered: Feb, 2004

Re: C++ Cookbook from O'Reilly Posted: Nov 15, 2005 3:20 PM
Reply to this message Reply
Sorry I screwed up the url, it should have been: http://www.ryanstephens.com .

Amr Ali

Posts: 3
Nickname: amreg
Registered: Aug, 2005

Re: C++ Cookbook from O'Reilly Posted: Nov 16, 2005 5:36 AM
Reply to this message Reply
I wonder, why should most -if not all- computer science books put a photo of a wild animal -some times Dinasours- on the cover.
I've been noticing this since my early days in colleage.
Do you have explaination?

Dan Pidcock

Posts: 4
Nickname: danio
Registered: Jun, 2005

Re: C++ Cookbook from O'Reilly Posted: Nov 16, 2005 7:55 AM
Reply to this message Reply
I have read the sample chapter 10 (Streams and Files) and it starts off with a very useful discussion on streams. I like the format although sometimes the discussion section can seem pretty basic (e.g. explaining the fixed number format). I would like to have seen a bit in the reading and writing classes to streams about how to read a class back into a stream with some version checking and handling for when the class members change.

The chapter does end up reading a lot like an advert for boost though as many of the file operations are OS dependant. To me that doesn't really seem like a helpful solution to the problem as if I am willing to go and find a portable library then I will just read the library docs to find what functions it supports. Does the rest of the book have such a leaning towards boost?

Anyway I think this is a book I would definitely like to have a look at in a bookshop before deciding whether it is worth the investment, but from what I've seen it is definitely worth putting aside the time to do that.

Dan Pidcock

Posts: 4
Nickname: danio
Registered: Jun, 2005

Re: C++ Cookbook from O'Reilly Posted: Nov 16, 2005 7:57 AM
Reply to this message Reply
> I wonder, why should most -if not all- computer science
> books put a photo of a wild animal -some times Dinasours-
> on the cover.
> I've been noticing this since my early days in colleage.
> Do you have explaination?


It's an O'Reilly thing. Classic O'Reilly books often get referred to simply by their animal, e.g. the camel book (on Perl IIRC)

Dan Pidcock

Posts: 4
Nickname: danio
Registered: Jun, 2005

Re: C++ Cookbook from O'Reilly Posted: Nov 16, 2005 8:02 AM
Reply to this message Reply
> > I wonder, why should most -if not all- computer science
> > books put a photo of a wild animal -some times
> Dinasours-
> > on the cover.
> > I've been noticing this since my early days in
> colleage.
> > Do you have explaination?

Here you go:

http://letters.oreilly.com/pub/a/oreilly/letters/2003/animal_index_0203.html

Flat View: This topic has 9 replies on 1 page
Topic: Iterable Concepts: Downloadable Demo Previous Topic   Next Topic Topic: No way to run a judicial system...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use