Basic C + + entry Prerequisites

Source: Internet
Author: User

A lot of friends do technology envy those programmers, especially to hear Beijing monthly income 7W can settle down, programmers in million and so on the news, have discussed, hope to change, I can clearly tell you, what is the technician? Not in DOS in a random force of the kind, is not able to write a bash/shell, more than a few algorithms will be called technical staff; The real technical staff is a mode of thinking, is a kind of technology constantly explore attitude. ---------------------------above are nonsense.
C + +, this piece because the application level of the module is becoming smaller, many people have to go to Java, PHP, Python, etc., but does not affect its classic status, after all, is a milestone.
To go to the programmer, start with the following article:
First of all have to be prepared for a good programmer and intend to dedicate their sweat and time to it.
Things to prepare:
1. One can understand the computer (not for environment variables, software incompatibility, insufficient memory, the registry does not adjust the kind of problems such as scratching).
2. There is a basic amount of words, know Microsoft, demo, int, scanf, breakpoint, double, char, printf, true and so on what meaning.
3. Will be some mathematical knowledge, algorithm to use, subtraction, factorial understand the line, and then complex will not also line, as long as the basic algorithm can be expressed out on the line, this is the programmer to judge the level of the problem.
4. Read a textbook (the programming book that you want to learn, not the specific one).
5. Follow the textbook to finish all the small programs (learn to debug in this process).
6. Follow the little program you've knocked over and then make some changes through your own ideas, and then implement those ideas yourself programmatically.
7. By this moment, you are already getting started.
8. Actual combat needs a different complex process, you can choose their own according to some online face test or directly to work as a junior team, follow the old driver run several projects on the line.
9. To this point in time, according to the code written by others and their own code comparison, look for differences, learning different complex algorithms and code optimization, to achieve the readability of the code.
10. Find a few friends to talk about a different way of achieving the need to see who has the best opinion in this respect.
Here are some specific points of knowledge that a person can understand about C/O:
1. Choose a development platform that you can understand.
2. Use English;
3. Learn how to use printf, and note that the parameters are separated by commas (at least a Hello world is written);
4. Use%d to print integers, using%04d to control the width;
5.%f used to print decimals, using%.4f to control the number of digits after the decimal point;
6. Learn to define an int variable that represents an integer;
7. Learn to define a double type variable, indicating a decimal number;
8. Preliminary study of simple +-/expression.
9. The variable cannot begin with a number, cannot be connected by a number, can be underlined or no space, and the keyword cannot be used as a variable.
10. One-dimensional arrays and two-dimensional arrays are used.
11. Logical expressions and relational expressions, knowing precedence.
12. The concept of pointers, know your program run at which step, will not be breakpoint, but it is best to have a computer thinking, this is the best.
13.if,while,for This cycle is not much to say, the Chinese logic can speak through the line.
14. Algorithm, basic algorithm, advanced point bubbling algorithm, stack out stack, eight queens, Pi and so on.
15. Here it is, some other object-oriented you don't worry, you don't have to look at this, you can take off.

Basic C + + entry Prerequisites

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.