20165333 Learning Basics and C language Learning basics

Source: Internet
Author: User

    • To tell the truth, I do not have any skills better than 90% people, do not have to take one out of the words, basketball barely better. First contact with the basketball is the primary school with his brother to see him play, Brother's skills in the peer is good, every time he saw a variety of breakthrough, I feel particularly handsome, in that is my heart buried the seeds of a good basketball, from then on, every week I will play a, but are blind playing, nothing to improve. Technology to improve the fastest is in the first three semesters of the university, as long as a free, I will go to play, before going to sleep will watch the NBA clips, shooting teaching video, the next day will be repeated practice video on the action, three semester, my shooting breakthrough, layup, Hook and so have a lot of progress.
    • I think there are several reasons why I have promoted the technology:
      1. Interest is the best teacher, I am interested in basketball, will take the initiative to find teaching video resources to learn, will spend time to practice repeatedly.
      2. Quantitative change causes qualitative change. I feel that my progress fully embodies this. From the basketball teaching public article to see two words, "as long as the shooting is accurate, you can play the game", "shooting is the most efficient way to score, can shoot why to break through it?" "Since then, every day I will watch the shooting teaching video, against their own to correct their own shooting, shooting at least 200-300 times a day, so as to form muscle memory, now I hit more and more high." Layup Hook also practice this way.
      3. Move forward with the group, progress faster, play a few very good friends, we play each time will show off their newly-learned movements, and then learn from each other, correct each other, common progress, there are good teaching resources will be shared with each other.

      After setting the goal, it is best to go directly to the road, if you encounter such a suitable group and personal goals consistent, then you are fortunate, may wish to join the group immediately, if the group growth rate is slower than personal growth, to jump out in time.

What is the similarities between practicing playing basketball and learning experience in a teacher's blog?

In fact, I think learning every skill is connected. The 1th is to let oneself interested in this skill, have interest, will greatly increase the initiative of learning. 2nd, the acquisition of each skill needs a lot of practice, quantitative change is the precondition of qualitative change, qualitative change is the inevitable result of quantitative change. The 3rd is to "Do high school", in practice found insufficient, timely correct the wrong understanding, can be more efficient learning. 4th, it is better to find a target of the same group, in groups can monitor each other, together to promote, progress will be faster.

About C language Learning
  • I think that learning C language and shooting training similar, first need to master a certain theoretical knowledge, in the right direction to do a lot of training, to achieve a certain amount of quality after the breakthrough, to skilled application. In the "Do High school", and constantly consolidate the theoretical knowledge, after a lot of training to make knowledge and flexible use, in this process without the teacher's classmates help, to make full use of these resources, timely advice.
  • Now I think I should only write 2000-3000 lines of code, but also just understand some of the fur, and not flexible application. Quantitative change caused qualitative change, I think "quantity" is not blindly repeat, but in the grasp of a certain theoretical knowledge after a lot of training, this training is with the training of thinking, in the training process to find deficiencies and errors. Mastering a skill is not an overnight, Rome cold day, training to have a plan, only a process of accumulation, 40 lines of code per day, to have a phased test to check the results of training, whether there is a qualitative breakthrough.
  • An array pointer is a pointer to an array, which is essentially a pointer: int(*p)[8]; p is a pointer to an array
  • A pointer array is an array of array elements that are pointers, for example: int*p[3] , which is essentially an array
  • A function pointer is a pointer variable that points to a function
  • A pointer function is defined as a function that assigns the return value of a function to a pointer variable of the same type.
  • Baidu learned that files are the basic unit of Computer Management data, but also an important place for applications to save and read data. A stream is an abstract concept of a sequence of bytes, such as a file, an input/output device, an internal process communication pipeline, and so on. Stream provides a way to write bytes to the backing store and read bytes to the backing memory.
  • Baidu , from the file code to see the file can be divided into text files and binary files two kinds. When a text file is stored on disk, each character corresponds to a byte for storing the corresponding ASCII code. Binary files are encoded in binary mode to store files.
  • after Baidu , process-oriented program design is a process-centric programming idea. As we write our code, we see a step-by-step process, which is process-oriented.
  • I understand that the module is the different areas of the program, such as the function part, the calling function part is the module, there is no program to write the source file
  • cohesion Poly, low coupling , Baidu know
  • Copy the contents of array a into array b

    #include <stdio.h>int main(){int n,i,A[N],B[N];printf("input n:");scanf("%d",&n);printf("input A[n]:")for(i=0;i<n;i++){    scanf("%d",&A[i]);    B[i]=A[i];    printf("%d",B[i]);}}
  • Find the integer array A has no number 5

    #include <stdio.h>int main(){int a[8]={0,1,2,3,4,5,6,7};int i;for(i=0;i<8;i++){    if(a[i)==5;    printf("YES");}}

    Sort integer array A (from small to large)

    #include <stdio.h>int main(){int a[8]={1,2,4,3,6,8,7,5};int i,j,temp;for(i=0;i<8;i++){    for(j=i+1;j<8;j++)    {         if(a[i]>a[j])         {            temp=a[i];            a[i]=a[j];            a[j]=temp;         }    }}for(i=0;i<8;i++)printf("%d\t",a[i]);printf("\n");}

    From big to small

#include <stdio.h>int main(){    int a[8]={1,2,4,3,6,8,7,5};    int i,j,temp;    for(i=0;i<8;i++)    {        for(j=i+1;j<8;j++)        {             if(a[i]<a[j])             {                temp=a[i];                a[i]=a[j];                a[j]=temp;             }        }    }    for(i=0;i<8;i++)    printf("%d\t",a[i]);    printf("\n");}

Write a program that counts how many lines of code your C language has written.
-I really do not, Baidu a bit, found a blog, after watching or not, in the future to learn slowly.

    • Breakpoints are a debugging method that sets breakpoints in debugging and stops at the breakpoint location when the program runs.
    • Questions on PPT for each chapter
    1. What is the anti-compilation of Java?
    2. Show the format of the conversion who is the type name?
    3. How does the XOR operation work?
    4. How to create an object
    5. How to implement concrete for abstract programming
    6. What is an interface
    7. How do I use inner classes and exception classes?
    • The eighth chapter is behind the eyes of the ignorant

      About Java Learning
    • Hope that through a semester of Java learning, can solve some practical problems, flexible use
      , I think Java Learning first need to take a comfortable area, learning in the learning area, every day to write code, master a certain theoretical knowledge can skillfully use the Java language, the efforts of their own and the teacher's guidance, learn java. At the same time, I hope that through Java learning can strengthen the ability of self-learning, develop good learning habits.

20165333 Learning Basics and C language Learning basics

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.