20165339 Learning Basics and C-language basic survey

Source: Internet
Author: User

Read the reading of secondary school

I think it is a good way to arouse students ' interest, curiosity and curiosity by giving students concrete, practical and immediate knowledge of the cause and effect of teaching materials and exercises. That's how I learned programming and software development. So I am very fond of the method of "learning to learn". The software engineering has the theory part, has the engineering part; Having the part of art, having a handicraft part; Before students reach the stage of theory/art, a lot of practice is necessary.

--quoting from Xin Zou teacher "modern software engineering handout"
To do middle school is to pay attention to the practice process, to put ideas into practice, thinking in practice, learning in practice.

    • I think my ping-pong technique should be better.
    • I have been playing, in several ball games I also like table tennis more.
    • Practice repeatedly, many times

      A survey on C language learning
    • I learned through the textbook C language, C language or lack of practice, not to write code into the normal.
    • From the beginning of contact with the C language to the end of the exam there are about 3,000 lines, the first touch of the relatively simple code is easy to understand, but learned that later encountered some more complex code when it is not understood. I personally think that in terms of quantity and quality, quality is more important, should first guarantee the quality of the premise of as much as possible to increase the amount.
    • I can only remember one. An array of pointers is an array, and the elements are pointers. An array pointer is a pointer to an array. Pointer functions are similar to function pointers.
    • Not clear
    • The module is a program that can be executed separately, without.
    • This is not clear.
    • Copy the contents of array a into array b

#include <stdio.h>#define N 40int main(){    int a[N],b[N],i,n;    printf("input number:\n");    scanf("%d",&n);    printf("input a:\n");    for (i=0;i<=n;i++)    {        scanf("%d",&a[i]);        b[i]=a[i];    }    }
    • Find the integer array A has no number 5
#include <stdio.h>#define N 40int main(){    int a[N],i,n;    printf("input number:\n");    scanf("%d",&n);    printf("input a:\n");    for (i=0;i<=n;i++)    {        scanf("%d",&a[i]);        if(a[i]==5)         {            printf("有\n");            break ;        }    }    }
    • To sort an integer array a
#include <stdio.h>#define N 40int main(){    int a[N],i,n,j,k;    printf("input number:\n");    scanf("%d",&n);    printf("input a:\n");    for (i=0;i<=n;i++)    {        scanf("%d",&a[i]);        for(i=0;i<N;i++)            {              for(k=i,j=k+1;j<N;j++)                  if(a[k]<a[j])                      k=j;                    if(k-i)                      j=a[k],a[k]=a[i],a[i]=j;                    printf("%d",a[i]);            }    }}
    • This doesn't.
    • I don't know.
    • Usually go to practice more.

      Learning goals for Java

      In the grasp of the knowledge point of the situation, more practice, do not understand the more asked. To understand the meaning of each line of code, to try to improve the number of exercises after understanding

20165339 Learning Basics and C-language basic survey

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.