This question has already been answered:

I have been working as a programmer for about a year, now I am working with PHP and C #, at the moment I'm interested in C ++, there was a question of literature selection. I looked at Straustrup and Shildt, and there and there it is implied that the reader already knows C. Actually the question is: can you have some knowledge in programming to learn C ++ without knowing C, and if not, can anyone recommend C ++ books scratch, or books on pure C.

Reported as a duplicate by participants Nick Volynkin , Vladimir Glinskikh , YuriSPb , Kromster , Cerbo 28 Sep '15 at 19:36 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

  • You can study, but as a result you still have to study C :). I would recommend such an author as Laforet. - Mirdin
  • Found "R. Laforet - Object-Oriented Programming in C ++", did you mean this book? And if you still have to learn C, can not you suggest books on it? - Mr_OST
  • Yes, this one. - Mirdin
  • four
    Possible duplicate question: Books and other literature on C ++ - Nick Volynkin

6 answers 6

I will support Mirdin 'a, for you R. Laforet - "Object-Oriented Programming in C ++" will be an excellent choice.

Although it does not give too much knowledge on each of the topics separately, but the number of these topics is very large: STL, patterns, exceptions. It will be an excellent guide to the world of C ++ for you.

Well, then it will be mandatory to read Alexandrescu, Straustrup and something about STL ("STL For Professionals" is a great choice)

  • Alexandrescu - at the very end, after the Bear, STL, Josattis Templates, Meyers books, etc. - skegg
  • Thanks for the detailed answer, I looked at Laforet, really volume, I went through a couple of chapters - I liked the presentation of the material. I think on it and stop. Stroustrup bought in print. - Mr_OST 3:49 pm

If you want to tighten well, C is the best book - S.Prat http://rutracker.org/forum/viewtopic.php?t=4195165 , it also has C ++, but I can’t say anything about it. Explains very accessible, so it will not be a problem to read the original, even if you do not have very advanced knowledge of English. If there is an opportunity and desire - take it in paper, but as far as I know it has not been printed for many years now and it is hard to find.

    @Mr_OST , I think without reading K & R (C programming language. Brian Kernighan, Dennis Ritchie.) And writing a few dozen programs, you can not do.

      C you do not need. Do not study it. Start right away with C ++. Daytel will help you with this - how to program in C ++. Teaches from scratch and sensibly! From the first time you will understand

      • I do not agree. I also immediately started learning C ++ according to Shildt. Only the basic C capabilities of the printf time type were understood. But in reality most libraries are written in C, which makes them difficult to understand. - manking
      • 3
        @ navi1893, it is noticeable on issues. - skegg
      • 2
        If I ask questions, it means I have a desire to study and I do something. I do not think that you @mikillskegg immediately became a connoisseur when you started - navi1893
      • one
        @ navi1893, it's not about quantity, but about quality. You take on quite complex things (the same OPN as a calculator), without understanding simple ones (passing arguments to functions, for example). It would be useful for you to start with a tutorial on C, go through it from beginning to end, at the same time get acquainted with the implementation of the basic algorithms, and then apply the knowledge gained in C ++ programming. - insolor
      • one
        @ navi1893, but try reading something not only for a particular C / C ++. I now remembered that I had read the book by Pratt T. Long ago. Programming Languages. Development and implementation and she gave me. Probably no less than a whip. Now I looked in Google - and it’s necessary - they sell now (already the 4th edition). There is also a good book: The practice of programming Brian Kernigan, Rob Pike are interesting examples there (as far as I remember, of course). - avp

      The Definitive C ++ Book Guide and List

        Clearly and how it should be written in Straustrup in the book Principles and Practice of Using C ++. Just for beginners is designed and will be interesting for professionals.