What C++ books are you using...

Pages: 12
May I know the author and the book title you are using in C++ if there's any.

I will buy a C++ book on Monday and I don't know which C++ book am I going to buy...

The book may not be pure C++, it may include other programming languages such as C#.

I have many C++ e-books but I want to what C++ books are you using

Thanks.

Last edited on
closed account (z05DSL3A)
These are the only book I have copies at work as well as home.

The C++ Programming Language: Third Edition
by Bjarne Stroustrup

C++ in a Nutshell: A Language & Library Reference
by Ray Lischner

The C++ Standard Library: A Tutorial and Reference
by Nicolai M. Josuttis

C++ Templates: The Complete Guide
by David Vandevoorde, Nicolai M. Josuttis


C++ Templates: The Complete Guide
by David Vandevoorde, Nicolai M. Josuttis

I'm reading this currently. I'm only a few chapters in and already can't believe how much I didn't know about templates! Definitely not for the beginner, though.

Generic Programming and the STL: Using and Extending the C++ Standard Template Library by Matthew H. Austern is very good for learning the STL.
How about C++ books on embedded programming? Is there any?
Well if your looking for a C++ book, then im guessing your new to it, I would recommend:

BEGINNING C++ Trhough Game Programming, Second Edition
-By Michael Dawson

It comes with a Dev-C++ Bloodshed compiler for you to use, with demo source codes. It's kind of rough at first, but its one of those books you will get into, like an example program from the book:

// Word Jumble
// The classic word jumble game where the player can ask for a hint

#include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>

using namespace std;

int main()
{
enum fields {WORD, HINT, NUM_FIELDS};
const int NUM_WORDS = 5;
const string WORDS[NUM_WORDS][NUM_FIELDS] =
{
{"wall", "Do you feel you're banging your head against something?"},
{"glasses", "These might help you see the answer."},
{"labored", "Going slowly, is it?"},
{"persistent", "Keep at it."},
{"jumble", "It's what the game is all about."}
};

srand(time(0));
int choice = (rand() % NUM_WORDS);
string theWord = WORDS[choice][WORD]; // word to guess
string theHint = WORDS[choice][HINT]; // hint for word

string jumble = theWord; // jumbled version of word
int length = jumble.size();
for (int i=0; i<length; ++i)
{
int index1 = (rand() % length);
int index2 = (rand() % length);
char temp = jumble[index1];
jumble[index1] = jumble[index2];
jumble[index2] = temp;
}

cout << "\t\t\tWelcome to Word Jumble!\n\n";
cout << "Unscramble the letters to make a word.\n";
cout << "Enter 'hint' for a hint.\n";
cout << "Enter 'quit' to quit the game.\n\n";
cout << "The jumble is: " << jumble;

string guess;
cout << "\n\nYour guess: ";
cin >> guess;

while ((guess != theWord) && (guess != "quit"))
{
if (guess == "hint")
cout << theHint;
else
cout << "Sorry, that's not it.";

cout <<"\n\nYour guess: ";
cin >> guess;
}

if (guess == theWord)
cout << "\nThat's it! You guessed it!\n";

cout << "\nThanks for playing.\n";

return 0;
}

Very simple once you read the book
Dev is useless. wxDev is better. If you use a compiler packaged with a book, chances are it is or will be out of date.
The C++ Standard Library: A Tutorial and Reference
by Nicolai M. Josuttis

This is a good book.
I see... I'll check that out in a national bookstore.
Sad to say, I don't find that book in a bookstore.

Is this book on C++ good?

The Annotated C++ by Margaret Ellis and Bjarne Stroustrup

C++ Primer 3rd ed by Stanley Lippman and Josee Lajoie

These are the only books I found in a national bookstore about C++
@Duoas, jsmith, Disch, gcampton, Bazzy, firedraco1, Helios, and to all

What books in C++ are you reading if there's any.

Thanks..
I like "The C++ Programming Language" which Grey Wolf already mentioned
I wish I could be lucky in finding that book.
Last edited on
So any book in C++ is good if Bjarne Stroustrup is the author??

like The Annotated C++ by Margaret Ellis and Bjarne Stroustrup

I can't find "The C++ Programming Language" in the national bookstore :(

Thanks.
So any book in C++ is good if Bjarne Stroustrup is the author??
I'd say that if Stroustrup is the author, the book is surely valid.
From http://www2.research.att.com/~bs/arm.html :
The Annotated C++ Reference Manual will appeal to language implementers and expert C++ programmers.
That's it. I want to become an expert in C++ since it's my job as a software developer. I'm still in my training period so I must strive hard and aim to be a professional C++ programmer. :)

EDIT: for now I will buy that book. Thanks
Last edited on
I want to become an expert in C++
As far as I understand, that book is for already experts
BTW if you want to know more about Stroustrup's books you can check this: http://www2.research.att.com/~bs/books.html
C++ Coding Standards by Herb Sutter and Andrei Alexandrescu -- It is small and it will tell you the "why" in addition to the "how". It's one of those books you can read for about 5 minutes at a time and feel yourself growing stronger as a programmer after each short section.

http://www.gotw.ca/publications/c++cs.htm

C++ Coding Standards by Herb Sutter and Andrei Alexandrescu -- It is small and it will tell you the "why" in addition to the "how". It's one of those books you can read for about 5 minutes at a time and feel yourself growing stronger as a programmer after each short section.


I ordered that one last week. It's third in my reading queue--right after C++ Templates: The Complete Guide and C++ Gotchas.
The complete reference: C++

I've learned a lot from Herbet Schlidt
C++ for dummies is a good one.
^ no.
Pages: 12