Home  >  Q&A  >  body text

计算机 - 我学习了C语言,数据结构和一点点java基础,想自学C++,请问买什么入门书籍好?

如题,我不知道入门书籍是《C++ primer》好还是《C++ primer plus》?看网上各种资料都是褒贬不一。请作为过来人的大神们给点意见吧。

黄舟黄舟2715 days ago602

reply all(9)I'll reply

  • 阿神

    阿神2017-04-17 15:34:32

    There is a C++ book recommendation on stackoverflow, which is known as the most authoritative. You can check it out.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 15:34:32

    Since you have learned C and data structures, just go to Primer (without plus)

    reply
    0
  • 迷茫

    迷茫2017-04-17 15:34:32

    The C++ primer talks in more detail. From the beginning, I have been using Sales_item.h. You can download this thing, and I can also give it to you. Use this header file to match what is written in the book. Go write something, and then slowly understand it. The same goes for the back of the book. You have to adapt to the environment of a book like this. That is, I wrote a small example of code in the front, and the variables in it may be used in the next 2 or 3 pages.
    Many things in the book are explained in detail. Some things he won’t talk about here, but he will tell you directly how many pages to read.
    If you have a foundation in C, you should be able to do it, and you know data structures, so don’t hesitate and just go for C++ primer, the book is very good.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 15:34:32

    C++ routines are too deep, just learn C well.

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 15:34:32

    Since there are some basics, primer plus is not needed.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 15:34:32

    I am also a beginner. I think that if you have a basic knowledge of C, you don’t need to study first. The key is to practice on the computer. You can go to Jisuanke. There is a basic C++ course (explaining knowledge points + independent AC questions). form), it took me two days to complete this course when I had a basic knowledge of C, and it seemed to cost more than a dozen yuan (pay per second). But don’t worry, the questions in it are not too difficult, I will show you some screenshots Tao is considered a relatively difficult question

    This lesson also contains new features of C++11

    Let me explain here, I am not an insider of this website, just an ordinary student. So I don’t want anyone to think that I am a troll.

    Of course, I don’t absolutely need to read the book, but you can read the book while practicing. If you just read the book, you may not be able to find good answers even if you answer the following questions. The questions provided do not have background data for you to test. After studying this lesson, you will feel much more comfortable when you look at C++ Primer.

    Related interests: To be honest, if you sign up for this link and pay for the course within 30 days, I can get 20% commission, but the main reason why I answer this question is not for the commission, it comes from the bottom of my heart. Recommended. Besides, I recommend that you choose to pay by the second. You can finish the course in two days (refer to what was said at the beginning). I can only get less than 3RMB. No matter how poor I am, there is no need to bother you for this.

    Actually, I also have c++ primer plus...

    reply
    0
  • 迷茫

    迷茫2017-04-17 15:34:32

    For novices, it is recommended to buy a C++ study with less than 200 pages published by Tsinghua University. It is not recommended for novices to buy C++ Prinmer plus, because the 1K pages of this book are more suitable for information inquiry, and it is too detailed for novices to understand, which is a big blow, let alone reading such a thick book

    reply
    0
  • PHPz

    PHPz2017-04-17 15:34:32

    Read multiple books at the same time. If you don’t understand it, go read the relevant chapter in another book. If you still don’t understand, you can ask online.

    reply
    0
  • 阿神

    阿神2017-04-17 15:34:32

    For beginners, it is recommended to buy a C++ textbook on Taobao first, read the textbook and then read "C++ Primer"

    reply
    0
  • Cancelreply