Learn C + + starting from 0

Source: Internet
Author: User

from the last system to do programming to now feel is a long time ago, recently found that the need for programming more and more, so decided to start from scratch my yard farming. However, when the IDE opens again, into the compilation interface, try to write a few lines of the program, the system crazy error. After a long process of error correction, let me realize a problem, has been used as a tool for programming, and now incredibly unfamiliar, it is time to do a down-to-earth re-comb. from the Internet to find some famous aphorism of learning programming, as a learning Reference and learning Guide: 1, the C + + as a new language learning (and C does not matter!) )。

2, see "Thinking in C + +", do not see "C + + programming ideas."

3, see "The C + + programming Language" and "Inside the C + + Object Model", do not because they are difficult and we ourselves are beginners so do not look.

4, do not be VC, BCB, BC, MC, TC and other words confused-they are integrated development environment, and we have to learn a language.

5. Do not let go of any small programming problem that seems simple-they are often not that simple, or can lead to a lot of knowledge points.

6, will use Visual C + +, does not mean that you will C + +.

7, learning class is not difficult, template, STL, generic programming is so, difficult is the long-term adherence to practice and spare no effort to read extensively.

8, if it is not genius, want to learn programming do not want to play games-you think you did, in fact, your C + + level and your ability to pass through the high--in fact, you can always remember: learn C + + is to make up the game.

9, see the Visual C + + book, is not learning C + + language.

10, impetuous people easy to say: xx language is not, should learn yy;--is you yourself!?

11, impetuous people easy to ask: what I should learn;--don't ask, learn is right;

13, impetuous people easy to say: I want the Chinese version! My English is not good! --no? Learn!

14, impetuous people easy to ask: xx and yy which good;--tell you, all good--as long as you learn.

15, impetuous people divided into two kinds: a) only watch and not learn, B) only learn and not adhere to the people.

16, the fashionable technology hanging in the mouth, it is better to put the outdated technology in mind.

17, C + + is not only support object-oriented programming language.

18, one of the best ways to learn programming is to read the source code.

19. Don't think that you have enough books in your hands at any moment.

20, please read the standard C + + Bible (Chinese version: standard C + + book), master C + + standards.

21, read the book, please look carefully, do not understand the book, please bite the bullet to see.

22. Don't expect to see what you can remember and master in the first book-see the second and third times.

23, see "Effective C + +" and "more effective C + +" and "exceptional C + +".

24, do not stay in the integrated development environment of the cradle, to learn to control the integrated development environment, but also learn to use the command line to handle the program.

25, with others to discuss the meaningful C + + knowledge points, rather than quarrel xx line or YY and ZZ which is good.

26, please see "Program design Practice", and strictly in accordance with its requirements to do.

27. Do not think that because C and C + + have some syntax and keywords that look the same, they are considered to have exactly the same meaning and function.

28, C + + is by no means the so-called "expansion" of C--if C + + begins with the name Z language, you will not be able to link the C and Z language so closely.

29, please do not think to learn xx language and then change to learn C + + What is the problem-you are just learning a new language.

30, read the "Inside the C + + Object Model" and then to determine whether they have learned C + +.

31, the Secret of learning programming is: programming, programming, re-programming.

32, please pay attention to the following books: "C + + Object-oriented programming (C + + effective object-oriented software construction)", "Object-oriented Software construction (object-oriented software Construction), design model Patterns, the ART of computer programming.

33, remember: Object-oriented technology is not just C + + proprietary.

34, please put the program examples in the book into the computer practice, even if the supporting CD has the source code.

35. Expand the meaningful examples that you see in the book.

36, please attach importance to the exception processing technology in C + +, and apply it to their own programs.

37, often review their previous written procedures, and try to rewrite, the new knowledge of their own learning to apply.

38, do not miss any of the book exercises-please complete and record the problem-solving ideas.

39, the C + + language and C + + integrated development environment to learn and master at the same time.

40, since the decision to learn C + +, please persist in learning, because the purpose of learning programming language is to master the programming technology, and programming technology is cross-language.

41, let the C + + language of the various platforms and development environment to fierce competition, we should learn C + + language itself mainly.

42, when you write the C + + program to write half but found that the method is very poor, please do not stop immediately, please complete the remainder as soon as possible to ensure the integrity of the design, and then analyze their own errors and redesign and write (see 43).

43, do not be impatient, the design of C + + class is not easy, its own program class and their class design level is in the continuous programming practice to improve and develop.

44, do not because the program "very small" do not follow some of your unskilled rules-good habits are cultivated, not once remembered.

45, every time you learn a C + + difficulty, try to explain this knowledge point to others and let him understand-you can speak clearly to show that you really understand.

46, recorded in the communication with others to find their own neglect or do not understand the point of knowledge.

47, please continue to write their own procedures to put forward higher requirements, even if your program version number will become version 100.XX.

48. Keep all the programs you've written-that's one of your best builds.

49, please do not do impetuous people.

50, Love c++!

About love, I do not need crazy love, just to do in the completion of a function, the heart full of the sense of accomplishment can be, simple to say, is the passion is good.

In addition are some book recommendations, I also posted here, as a reference:

1. "C + + Primer" Lippman written, classic classics, C + + primer, read this book, basic grammar clearance, some skills mastered.
2. "The C + + programming language" C + + founder Bjarne Stroustrup wrote that the authority of this book is unquestionable, and that there are some relatively low-level things, if you read the "C++primer", The book can be read and skipped.
3. The book, written in lively and humorous language by the top masters of Effectivec++ Scott Meyers, is a book that is worth buying. (Lippman has divided the programmer into two categories that have seen effective C + + and not seen.) This shows the importance of the book)
4. The book "more effective C + +", which mentions a number of key technologies, is very helpful in improving the efficiency of the program.
5. "Advancedc++" This is a magical book, in which many even C + + designers have not thought of the magic bullet, solved many seemingly impossible to solve the problem. A book that Scott Meyers once recommended.
6. "Inside the C + + Objects Model" is Lippman's masterpiece! This book is about his many ideas when developing the first C + + compiler, thoroughly analyzing how the C + + underlying mechanism is how to implement the object model, read this book, you understand the C + + will have a qualitative leap! From this moment on, you have the power to say you are a C + + programmer!

Well, I will continue to update as a code farmer starting from 0.

Learn C + + starting from 0

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.