How to learn C language well/c++

Source: Internet
Author: User

Moderator qq:877451122 Plus I study C language??????????

How to improve the programming ability of C language:

Learning C language, Rectification's "C Program Design" is a very good C language books, learning program design is a very long process, do not worry, a book more than two times three times, learn the cross-learning method, in the process of learning C, you can look at the data structure, compiling principles, operating systems and other books, is very helpful for weaving. At the beginning of the study, do not make up some of the larger program, a number of small programs, such as array operations, character combinations and so on, the pointer is the essence of C language, is a more complex part. See your situation, made up a learning system, the ability to control the language is still very good, I believe you, you will be able to learn good C language.

C + + Learning methods or recommendations

C + + is the expansion of language, learning more difficult than some, but also the most difficult to learn a language, relative to C, added a number of new features, inheritance, objects, templates, polymorphism, STL (Standard Template Library), fully grasp the language needs four years of time,

C + + Learning Classics:

1. Learn C + + as a new language.

2. See "Thinking in C + +", do not see "C + + into die mutually";

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

4. Do not be confused by VC, BCB, BC, MC, TC and other words-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 so simple, or they can draw out a lot of knowledge.

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

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

8. If it is not genius, want to learn programming do not want to play games-you think you have done, in fact, your C + + level and your ability to clear the high--in fact, you can always remember: learning 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 enough, you should learn yy;--is not your own!?

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

12. Impetuous people are easy to ask: xx rich way;--suggest you rob a bank;

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 it;

15. Impulsive people are divided into two kinds: a) only to wait and see and not to learn, B) only learn and not adhere to the people;

16. It is better to keep the outdated technology in mind by hanging on to the lips of fashionable technology;

17.c++ not only supports object-oriented programming language;

18. One of the best ways to learn programming is to read the source code;

19. Do not at any time consider that the book in your hands is sufficient;

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

21. Read the book, please look carefully, read 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 cradle of the integrated development environment, to learn to control the integrated development environment, but also to learn to use the command-line approach to processing programs;

25. Discuss meaningful C + + knowledge points with others instead of arguing xx line or yy with ZZ which is good;

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

27. Do not think that the meanings and functions of C and C + + are exactly the same, because there are some syntax and keywords that look the same;

28.c++ is by no means the so-called "expansion" of C--if C + + begins with the name Z language, you will not associate the C and Z languages so tightly;

29. Please do not think that the study of XX language and then modify the C + + will have a problem-you are only learning a new language only;

30. After reading "Inside the C + + Object Model" 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 Patterns", "The Art of computer programming";

33. Remember: Object-oriented technology is not just C + + proprietary;

34. Please input the program example of the book into the computer practice, even if the supporting CD has the source code;

35. Expand the meaningful examples that are seen in the book;

36. Please attach importance to the exception handling technology in C + +, and apply it to your own program effectively;

37. Always review the procedures that you have written before and try to rewrite and apply the new knowledge that you have learned.

38. Do not omit any of the book exercises-please complete and record the problem-solving ideas;

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

40. Since the decision to learn C + +, please insist on learning, because the purpose of learning programming language is to master the design technology, and programming technology is cross-language;

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

42. Do not stop immediately when you write half of the C + + program and find that you are using it in a very poor way; Please complete the remainder as soon as possible to ensure the integrity of the design, then analyze your mistakes and redesign and write them (see 43);

43. Don't be impatient, the design of C + + class is really not easy, the class and their class design level in their own program is perfected and developed in the continuous programming practice;

44. Never do not follow certain rules that you are not proficient in because the program is "very small"--good habits are cultivated, not once remembered;

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

46. Record the points of knowledge that you have overlooked or not understood while communicating with others;

47. Please keep on your own writing procedures to make higher requirements, even if your program version number will become version 100.XX;

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

49. Please do not be impetuous person;

50. Please love c++!

---------------------------------------------------------------------------------------------------

Add:

Some thoughts on C + + learning, I hope to have some help for beginners

1. If you have never been in touch with C + + before, then the first C + + tutorial chosen is particularly important, and I think you can choose from the following criteria:

A. The standard C + + is explained, after all, C + + has changed a lot than before.

B. The requirements are comprehensive, but not very deep, which will help you to have a comprehensive understanding of C + +, lay a good foundation, and easy-to-understand textbooks can also accelerate the progress of learning, so that they maintain a sense of accomplishment.

C. To have a complete example of how each knowledge point is used, please note that what is said here is not a single piece of code. Because you've never been exposed to programming in C + + before, the complete code can make you have a whole concept and be able to do a lot of practice quickly, since programming is the beginning of imitation, and the complete code tells you a complete step. Don't have to speculate on your own.

D. Recommendation: "C + + Primer Plus"

2. When you have a certain foundation, you should choose some books to quickly improve yourself. This kind of book is characterized by not only teaching you how to use it, but also how to think about it, and how easy it is for you to read it. It means far-reaching, not something you can read it over.

Recommendation: "Thinking in C + +" "Effective C + +" "more effective C + + programming language" ... "C + + meditation record"

3. The next step is to read and practice the books presented in the second stage. Because these books are a far-reaching one, each person will have different results based on their own foundation, for example, if your foundation has not reached a certain height, then you are blind to some profound technology, do not believe? You can try it and see how many new things you'll find when you come back and read a previous book.

----------------------------------------------------------------------------------------------------

I recommend some classic C + + books to you:

C + + Programming tutorial

C + + programming ideas

C + + University tutorials

C + + programming language

Data structure algorithm and application C + + language description

C + + Standard Template Library------Self-study tutorials and reference manuals

Generic Programming and STL

Deep Exploration of the C + + object model

Design pattern---The basis of reusable object-oriented software

Refactoring---Improving the design of existing code

Essential C + +

Effective C + +

More effctive C + +

C + + Primer

The first five should belong to the introductory books, the latter belongs to the learning difficulty than the larger, want to improve C + + programming ability to see these books are good. I suggest you take a look at the book of programming ideas. Doing more exercises is a great help to improve the level of programming.

In fact, language is interlinked, a language learned, learning other languages is easier.

The industry has a saying, because the Java language contains some features of C + +, mastered C + +, is equivalent to mastering the Java 80%,

When we learn C + +, there are many people do not know how to learn it ﹑ how to learn it, do not know how to start from there, the introduction of C + + is actually very simple, you just step by step according to the C + + textbook in your hands to learn it, maybe you have C + + study sucks, At this point you must not think I am very proficient in C + +.

I personally think that to learn C + +, it is best to learn it directly, do not learn C language, and then in C + +, although C + + is developed from the C language, but if you understand the C language more, when you write C + + program, you can not get rid of C style, you are a very experienced programmer, If you know C very well, when learning C + +, try to use C + + style, I do not say C is not good, the key we now want to understand is C + + instead of C.

Now let's learn more about C + +! C + + is difficult to learn, not only in its extensive grammatical ﹑ grammar behind the semantic ﹑ semantics behind the deep thinking ﹑ deep thinking behind the image model, C + + difficult to learn, but also with it provides four different programming thinking models. When we found a C + + textbook, when we opened the first page, then we have entered the world of C + +, we are now exploring, began in the pursuit of new technology on the journey!

Want to learn C + +, proficiency in its grammar is indispensable, when you master the C + + syntax, then I would like to congratulate you, you have been entering the world of C + +, you have to learn C + +, you have to study hard, often thinking more practice, then you will ask, I should also learn what? I have mastered the grammar of C + +! Is it possible for me to learn Windows programming? Don't worry, you've mastered C + + syntax, but can you use it to write high-efficiency programs? Are you aware of all the operating mechanisms of C + +? Yes, it is not enough to understand the C + + syntax alone, and then you have a lot of tasks to learn how to use the C + + language efficiently. Now I will teach you how to learn it well, how to use it efficiently.

Let's start with the syntax of C + + first. Here I'm just going to make a simple overview, and when we learn C + +, you first need to understand its programming patterns, which include generic programming for ﹑ programming and traditional procedural programming. When you are learning a C + + grammar, if you are very difficult to understand, you can skip this paragraph, continue to study backwards, when you read the textbook you learn C + +, you are back to learn C + +, you will find that it is so, there are many people learning C + +, just learned half, Suddenly feel as if the grammar of the previous study forgotten a lot, they will turn the book back, get back the forgotten grammar, if you are learning C + + when there is such a situation, you do not have to worry about it, you are now the task is to continue your study, do not take care of that time do not remember the grammar, if you go to re- + +, yes, yes, it seems like you have a deep bearing on the grammar, when your C + + learning here, you can ensure that the previous syntax is not forgotten? At this time you are learning new C + + syntax, but the heart will forget the previous just found in C + +, you say you can learn the new C + + syntax? You will learn new, while repeating the old, so that is bad, then you will be very easy to mess up the new and old C + + syntax, the new can't remember, the old again by the new grammar messed up, then you have to start again (after all, you are beginners).

Learn the basic ideas of C + +, and then learn VC and other things.

Learn C + + can be used: "C + + Programming Ideas (2nd edition) 1th: standard C + + guidance" (this book I read three times!!) A good book to compare with other classic C + + works such as the C + + programming Language! I learn C + + for the two books feel particularly good, one is "effetive C + +", and the other is the book: "C + + Programming Ideas (2nd edition) 1th: standard C + + guidance", it is strongly recommended that you use this book, getting into the depth of all can!

Learn VC can choose "Visual C + + in-depth guidance" and Mr. Houtie's "in the understanding of MFC."

How to learn C language well/c++

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.