C Language Programming 13th time job

Source: Internet
Author: User

First , the main content of this lesson:

This chapter mainly introduces the basic concept and definition of structure, the definition and use of structure variables, the application of structure array and the concept of structure pointers. It focuses on the definition of structure and the way members are referenced. At the same time, it also introduces the basic concept of the file, the basic procedures and procedures of file operation, and the commonly used file operation functions.

(1) The concept of the structure and the main points of knowledge are derived from the comprehensive example "output the average student information of the highest". This paper focuses on the three situations in which structure variables are used: struct member reference, mutual assignment of structure variable of same type, structure variable as function parameter.

(2) through the example "Student achievement file Statistics" leads to the basic concept of the document and the main knowledge points, the realization of a pre-prepared student performance information from the disk file height data to the computer memory and display in the screen, indicating that the C language program can achieve the access to the file function.

(3) Review the contents of this semester.

second, the experimental content: (40 points, 10 points per question)

1. The date of birth is made up of the year, month and day, please add a member to the student information structure in example 9-1: Date of birth, redefine the struct type with a nested defined method.

2. Refer to Example 9-2, enter and save 10 students ' performance information, respectively, output the highest and lowest average student information.

Input format: Enter as 5 non-empty strings separated by a space, each of which does not include whitespace characters, such as spaces, tabs, line breaks, and less than 80 in length.

3. Calculate the product of two complex numbers: Write a program and use structural variables to solve the product of two complex numbers.

Hint: Solve (a1+a2i) * (b1+b2i), the real part of the product is: A1*B1-A2*B2, imaginary part: A1*B2+A2*B1.

4. read out example 12-1 Student achievement stable f12-1.txt content, output the highest score and the lowest score and the corresponding number and name.

third, the experimental requirements:

1. deadline:2016-12-27 20:00pm of the job

2. Upload the code of the experiment content to the https://coding.net/website. (40 points)

3. Write an essay, divided into four parts: (total 10 points)

Write this lesson to learn the knowledge and experience, the length of study, the learning process encountered problems, solutions and so on. The process and the harvest of this course of study.

The format of the essay is as follows:

Topic: The basic application of the experimental 13--structure and document

(1) Knowledge points of this lesson: (5 points)

.......

........

...........

(2) Problems encountered in the experimental process and solutions: (5 points)

.......

4. Write a blog Separately, the topic can be set as "C Language Course study Summary", mainly write about the course of this semester learning experience and experience harvest, etc. (50 points)

.........

Four, the operation evaluation method:

Total score 100: Among them, the coding program submits 40 points (according to the code steps, the format, the annotation, the structure correctness to allocate), two blogs respectively is 10 points and 50 points; Pay special attention to the operation deadline, the delay of 10 points a day until the end of 100 points.

C Language Programming 13th time job

Related Article

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.