Isn't is easier to start with Petzold if one is going to program under Windows?

There are a few problems with this. First, GUI programming is not the be all and end all of programming, it's merely a tiny (and rather trivial) subset of it. Second, not everyone targets Windows, and learning C++ and learning Windows programming are two very different things that have to be treated as two separate learning processes. Third, why learn to do specific Windows programming when you can easily learn to use cross-platform tools that develop equivalent skills yet are more durable and useful in industry. Fourth, Petzold's books don't teach C++ at all. The pre-.NET editions teach you about the Win32 API and uses the C programming language (not C++), both of which are interesting for legacy reasons but a largely outdated these days. The post-.NET editions are in C#, with some examples translated to C++/CLI (or C++/CX, or whatever the latest re-branding of Managed-C++ is), neither of which have anything more to do with C++ than Java does, which is a terrible pathway to learning C++. And finally, Petzold himself stresses the fact that these are not books that teach programming, knowledge of programming is assumed prior to reading the books, they are just guides to help a capable programmer find his way around Windows' APIs. So, certainly, this is nowhere to "start with".

And this thread is about books that teach C++ programming, let's keep it to that, otherwise it will disolve into "if you want to learn this, use this book, if you want to learn that, use that book".

That's a good thing. Then you won't be tempted to just look at the answer and have to work through the chapter over and over until internalizing all of the information necessary to complete the exercises. You learn more by not having answers readily available. If I recall correctly, Accelerated C++ actually mentions choosing not to provide answers and explains why in chapter 0.

I have C++ Primer 5th edition, and so far so good. But what when you come at an exercise you can't make or it doesn't work? Then you have nothing to look at, no solution to compare what you did wrong...
But yea, it's a very good book overall.

You can always ask questions about the problem here at DaniWeb. DaniWeb is not just for doing school homework.

If you say so. Just thinking about the idea how many people would put a post about their exercises from a book.

The Five Most Important C++ Books

  1. The C++ Programming Language by Bjarne Stroustrup
  2. Effective C++ by Scott Meyers
  3. Design Patterns by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides
  4. International Standard for C++
  5. Modern C++ Design by Andrei Alexandrescu.

Hi, I thing there is one book, that you all missed and I'm sure that you all have read it.

    **- The Pragmatic Programmer.
        by Andrew Hunt and David Thomas**

Sorry if I'm wrong. :)

heres a nice books for start and more:
C : http://www.tutorialspoint.com/cprogramming/index.htm
C variadic functions: http://en.cppreference.com/w/cpp/utility/variadic
C++ : http://www.tutorialspoint.com/cplusplus/index.htm
(these tutorials can be download from there too)
C++ properties: http://www.daniweb.com/software-development/cpp/threads/462365/how-can-i-create-properties

C++ events: http://www.astahost.com/info/fttcmp-basic-event-handler-class-familiar-handlers-mimic.html
(isn't 100%, but maybe can help someone.. or see my topics)

C++ 11 Variadic functions: http://nerdparadise.com/forum/openmic/5712/
not C++11: http://en.cppreference.com/w/cpp/utility/variadic
(they use recursive functions)

for Windows API:
http://www.winprog.org/tutorial/start.html
and
http://www.zetcode.com/gui/winapi/
i hope that help someone

I strongly advice "Absolute C++". Clear grammer and everything you need is in this book.

can you give my some ebooks
thanks

quote
I have a great recommendation, this is a cheap book, full colour, and extremely detailed, im from the UK, here its £10.99, so thats about $20 roughly.
Its called C++ In Easy Steps

that's great

gud work all & thankx :)

I found
C++ Without Fear: A Beginner's Guide That Makes You Feel Smart
by Brian Overland

This one is good for beginners

I am going to check those books out, right now my class is Starting out C++ with Control Strutures Through Objects

Member Avatar for ArashVenus

Any recommended books about Visual C++ ?

Visual C++ is just c++, any c++ book will do it. Or do you want a book on how to use the Visual Studio IDE?

I have been programming for about few months now. I have read few books for different languages. I have never seen such an amazing book as C++ primier. This book doesn't only show you how is something done and how to do it your self. Instead, it throw you into the sea of the problem and let you experience why would you use this thing and when will you ever do.

Member Avatar for ArashVenus

I'm thinking about buying "C++ How to Program (9th edition)" by Deitels ,
Does anybody recommend It ?

Before buying any book read the reviews at amazon.com -- they might save you some money by not buying a useless book.

For example:

You are looking at the most expensive book on C++ ever written, with nothing magical to show for that $110+ price [edit: with the fall semester underway, the price is now $135+].

Member Avatar for ArashVenus

I just bought the Deitels book , this book comes with a pearsonhighered.com/deitels 1 year subscription , and is as good as the first editions*
what you miss on most c++ books (reference books) is they aren't step by step books , they are mostly useless , you don't read them unless you have problem somewhere but this book is all about step by step learning which I really love !

I was looking for c++ books, Now I got....In this summer holidays now I know what to do

thank you so much

I have read OOP by Robert Lafore. I find it a good book covering almost every advanced concept.

A great book to read is Data Structures using C++ by D.S. Malik. Though the author is obessed with templates this a very educational book and will answer a lot of questions. I love how the book introduces ADT(abstract data types) after ensuring the reader is comfortable with OOP(object-oriented paradigm).

i think c++ best book is C++ D.S Malik and it is simple,easy and helpful for all new students..................

I thought I would throw in my two cents in. I have been working through a great C++ book it's called Professional C++ here it one amazon: http://www.amazon.com/Professional-C-Marc-Gregoire/dp/0470932449

It not meant for beginners, it can be pretty fast with explaining new concepts, also you can go into this book knowing nothing about C++ and knowing alot about the C language because it starts at the basic level of OOP design. The best thing about this book is it explains how to use C++ in the real world.

Another good book for C++ beginners is "You Can Program in C++ - A programmers introduction" by Francis Glassborow. It does not pretend to teach the reader every single detail of C++ but states that it teaches only a small subset of the language - enough to get you started.

sn't only show you how is something done and how to do it your self. Instead, it throw you into the sea of the problem and let you experience why would you use this thing and when will you ever do.

which is what a good book does, teach you skills rather than tricks. Shows you how to swim rather than holding your head above the water.

You are looking at the most expensive book on C++ ever written, with nothing magical to show for that $110+ price [edit: with the fall semester underway, the price is now $135+].

seriously overpriced indeed. Better buy Stroustrup AND Lippmann and still have lunch money left (any serious programmer will want both of them anyway, and if you have them you won't need Deitell)...

C++ Primer (5th edition) is the best book written in C++

Have a 20 year old version, great book. But not really a tutorial, you're assumed to know something, or at least have other documentation on the side.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.