C Language Programming Thoughts

Source: Internet
Author: User

First, C language Program Basic statement can complete the function of experience

Before this course, I just think C language is just a code-knocking course, but after today, Mr. Wang showed me the original can also play games with C-free, before I learned that C language is widely used at home and abroad a computer language. Its rich language features, strong expression ability, flexible and convenient use, not only has the advantage of high-level language, but also has many characteristics of low-grade language, suitable for writing system software. Its powerful, not only used in computers widely used in electronics, machinery and so on, and, all the WINDOWS,UNIX,LINUX,MAC,OS/2, no exception, which is not written in C language? Many new languages such as C++,java,c#,j#,perl ... are derived from the C language. Mastered the C language, you can say that you have mastered a lot of language.

Second, aircraft games (or other software) in the last semester to learn the basic C language statement is how to use it?

        Before I learned a lot like what printf,scanf,if,else functions, and so on, summed up a bit about how to use the following:

        1,   expression statements, empty statements, compound statements.         2,   input and output of data, call of input and output function.         3,   compound statements. The use of         4,  goto statements, and statement labels. III. analysis of the structure of aircraft games (or other software).          1) The program uses functions to form a modular structure           2) in the main function, first call the menu () function to produce the menus          3) Then, by constantly receiving the user's keys, determine what Operation          4, respectively) and then set up the airplane and the bullet move           5) Displays the 







C Language Programming Thoughts

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.