I don't think I have the skills to be more than 90% people.
I think C language is a discipline that attaches importance to practice, the best way to learn is to practice more, I generally use the online practice system to find the topic, encounter will not be the topic on the Internet to find information, write down the use of skills, through constant accumulation of strengthening to their C language use ability, Ultimately, there is a realm of C language skills that can be used to solve whatever problems are faced.
I did not count the number of C code I have written, C language should rely on the number of code to strengthen the basic skills, by the understanding of the code to make themselves a higher level. Quantity is naturally important, but the number of light is not a real master. I usually think before I write the code and find the best solution to do it again.
The array pointer is a pointer to an array, the pointer array is an array of stored pointers, function pointers and pointer functions in the last semester of the study did not learn, wrote the topic did not involve the corresponding knowledge, so did not understand, know today's writing industry to recognize this noun.
c files and streams I have never been in touch before, just about the understanding that the file is a collection of data, the use of files for just learning the C language based on me is completely unknown domain.
Process-oriented programming is to design a good function, the program by calling the function in turn to solve the problem.
High cohesion refers to the implementation of a function of the module within the code relevance to high, low coupling refers to the implementation of the various functions of the module to each other small association.
Learning C language can only be regarded as the basis of access to programming, want to use knowledge to solve problems need a more appropriate programming language, in the future of Java learning I will be more diligent practice, more serious research, become a real can rely on Java programming to solve all problems of the master.
Copy the contents of array A into array B?
#include <stdio.h>int main () {
int i; int A[n], b[n]; for (i=0, i<n,i++) a[i]=B[i]; return 0 ;}
How do I find the number 5 in an integer array a?
#include <stdio.h>int main () {int a[n];int i; for (i=0, i<n,i++)if(a[i]==5) printf ("Array has 5\n"); return 0 ;}
How to sort an integer array a from small to large
#include <stdio.h>int main () {int a[n];int i,j,k,l; for (i=0, i<n,i++) {for (j=i,j<n,j++) { L=j+1 If(a[j]>a[l]) { k=a[j]; A[J]=A[l]; A[l]=k;}} } return 0 ;}
From big to small
#include <stdio.h>int main () {int a[n];int i,j,k,l; for (i=0, i<n,i++) {for (j=i,j<n,j++) { L=j+1 If(a[j]<a[l]) { k=a[j]; A[J]=A[l]; A[l]=k;}} } return 0;
}
Learning Basics and C-language basic survey