Reply to a netizen about C ++ Learning

Source: Internet
Author: User

This article is suspected of bumping water. After all, I am actually just a small dish. I should not say so openly about the C ++ learning method, especially the example of Liu weipeng. In fact, I want to get more opportunities for communication and review my learning history. I have been studying C ++ for a long time. I am actually familiar with C ++, looking for holes to hide your shame! However, this reminds me of Mr. Zhou guoping's statement:"I will always be confused, and will always walk; confusion is my honesty, walking is my brave", Most of the content below is actually what I did not do. Sorry, I am a senior. Looking back at my college life, I feel that too many things are uncertain, not profound, it is regarded as"Shame and courage, lack of knowledge and anger"Well, I hope that in the days to come, I can also ask myself for the following! In addition, you can also give some criticism and suggestions. If you think this article is inappropriate, you can delete it ~

**************************************** ***********************************

Learn about C ++. If you have a basic understanding of the various C ++ syntaxes, I think there is a book that cannot be left alone. This is Objective C ++ (the latest is the third edition, note that each version has many changes ). Some people call it the "watershed of C ++ programmers", which is clearly beyond its weight. Of course, more than tive C ++ and more than tive STL are associated. These books are given in the form of "terms, if you have a general understanding of C ++, it should be very quick to read. After reading one, you will soon like the other two. After all, you will find that a lot of scattered knowledge will be linked up, and many unclear details will become clear in the past.

The C ++ standard library is also very good. It describes all aspects of the C ++ standard library. You can take a look at it or use it as a reference book, it is much more convenient than directly querying the C ++ standard.

You told me that you are reading C ++ primer now. Sorry, I have never read this book, I see Bjarne stroustrup's "The C ++ programming language". To be honest, I personally think that there are no better people in the C ++ world than BS, are they c ++'s father! Static type recognition was available early in cfront. It was rejected when the C ++ 98 standard was established about 20 years later. I think it is too difficult to implement it, after all, there is a Bjarne stroustrup in the world. This is not the case that C ++ 0x once again has this topic. after about 30 years, now the experts have reached the level at which Bjarne stroustrup writes cfront... of course, this is just my personal feeling. So I recommend this book, even though it has some names, such as poor translation (let's look at the original version, I see the original version). For example, the text is hard, this... I am also guilty ~ Haha, but I will always read the book a hundred times ~

After learning the previous course, you can consider "essential C ++", which is very thin and contains less than 300 pages, the author is Lippman (who wrote "C ++ primer"), and the translation is Hou Jie. It can be used as a small snack. It is concise and clear, but its meaning is not thin.Quickly review C ++The content is really good.

Generally, these books are almost the same for individuals who are more familiar with the c ++ language. For those who are more savvy, after reading Bjarne stroustrup, the C ++ programming language is enough to write a very elegant C ++ program. However, many bosses on csdn have their own opinions on this. The most famous is Liu weipeng's boss. His blog is here: Baidu. I think if you have plenty of time, you can go through boss Liu's blog, and you will not be very profitable.

For me personally, if you are not satisfied with just mastering C ++ programming, you should do the following four things well:

  1. Byoon.C ++'s good books are full of resources. At this time, you will know what books you want to read, for example, you are interested in exceptions, naturally, you will find hurb Sutter's exceptional C ++ series, which is really good! If you are infatuated with the template, you will naturally find "C ++ template"... The university is so beautiful that there are too many TMD books at a time, so it is really good to read as many c ++ books as possible. There are actually a lot of books when you go to Google, if I still read c ++ with enthusiasm at this time, the more books I see, the more I will be satisfied with my desire to learn;
  2. Skills in basic algorithms and data structuresIt is best to use C ++ to implement the data structure and data structure by yourself. You can even try to do a moderately difficult ACM training question, because we have little project experience when we were in college, there are not many opportunities to write code. At this time, the implementation of writing data structures should be helpful for improving the individual programming level;
  3. You can focus on various technologiesIt is not only about C ++ programming skills, but also about others. For example, programming of various system functions (multithreading, process communication, network communication, multimedia), c ++ libraries (such as STL and boost) related to various platforms/platforms. For example, if you are interested in Windows programming, MFC is worth learning. There are many names for MFC, but in my opinion, MFC does have its own problems, but it has always been improved, in addition, the position in C ++ programming in Windows is really stable. If you use QT to develop Windows programs, you always feel a little non-mainstream. Speaking of this, I think it is best to leave ide To learn C ++ and use g ++, GDB, and make in Linux. I personally feel that it is not easy to say anything. You can try it, if you don't feel comfortable, you can fold back to vs or codeblocks, eclipse, and other ides ~
  4. That is, they often go to forums or write blogs to communicate with people.In particular, if the English language is good, go to a website such as ddj to read the Post patiently, and the skill will soar. I will not talk about this much, but I just mentioned this point for the sake of comprehensive thinking and the stability of explanation.

For C ++, you can say that you have chosen C ++, that is, you have chosen to fight against complexity. Similarly, this also means the possibility of a great sense of accomplishment. Some people say that the level of C ++ programmers is higher than that of Java and C #. This is not objective, but I learned C ++ and insisted on the final process, your personal learning toughness, research strength, and debugging patience will be greatly improved. This process is"While sharing ideas, thick and thin hair".

I have said so much, but most of them are what I did not do. Sorry, I am a senior. Looking back at my college life, I feel that I am not sure about many things, I have not learned deeply. In the days to come, I also hope to ask myself for what I mentioned above!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.