The basic statement of C language program can complete the function of the experience du

Source: Internet
Author: User

Through a semester of C language learning, I feel that learning C language is a certain difficulty but also very interesting subjects. is also very helpful, especially for the computer that will be facing the second-level examination. This period of study I know the basic characteristics of C language has the following points:

1. Simple language, flexible and convenient to use.

2. The operator is rich and expressive.

3. Several types are plentiful.

4. The target program is of high quality and has the characteristics of hardware-oriented system.

5. Have structured control statements and modular program structures.

6. Has the compile preprocessing function.

7. The program is of great freedom and portability.


This period of learning has taught me:

I learned the C language data types, constants and symbolic constants, variables, C-language operators and expressions, assignment operators and assignment expressions, self-increment decrement operators, and comma expressions.


This chapter introduces three basic structures of structured program, C statement overview, data output including character output function Putchar () and Format output function printf (), data input including character input function GetChar () and format input function scanf (), There are some simple C-language programming, and so on.


The last few days have been looking at C + + syntax, so for some more practical examples always feel more abstract, but that is also a necessary stage, maybe everyone and I learn different ways, but from the new contact procedure to now, found that the method of learning language is very good.

After the first stage of the study of grammar, I think the instance phase should be a transition stage, through the previous stage of the grammar of the study, there may be many concepts we are more vague, or a lot of things too abstract, this for our second stage of learning to do the instantiation of the preparation, so to speak, The first stage is a class that we build for our learning thing, which tells us what we should do in this area. The second order, that is, this stage, we should go to the previous paragraph of the thing materialized (instantiation of the previously created class), then how to materialize it, hehe! Plainly, to practice some small examples, from the e-book downloaded from the Internet, there are many examples of this, if you have to go to the bookstore to buy books, it should also provide a lot of, inside the example, I have to play every time, maybe some people will not personally go to play with the hand, what copy, of course, this also line, But I personally think, for beginners, it is better to do a good job, after all, these things for us, are more unfamiliar, if each word is finished by themselves, some code you do not want to remember also difficult, here, we have to understand every example of practice, if you can change some examples slightly, To understand the essence of the thing, let oneself know why do so, then is the best, I usually practice, this step is indispensable, are accustomed to, so also become a conditioned reflex, think not so all can not. Finally, we should remit the total, the previous examples used in the technology to rationale, and then do a larger example, as far as possible to understand all the knowledge to apply to the inside, just try to, of course, some things can not be integrated together, is also the exclusion of code.

This is a bit of personal learning experience, hoping to better apply to the study. C language is a very useful, for our employment is very practical language, learning good C language is a must and practical task. We have to have a good grasp of it.



There's a lot of knowledge we've learned in airplane games. Like if statement switch statement CASE statement, etc.

The plane game structure is very simple first set the function and then set the variable and then set the input variable final output


The basic statement of C language program can complete the function of the experience du

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.