20165220 Learning Basics and C-language basic survey

Source: Internet
Author: User

# # # #
I think I play the game (do not know the count is not skills) after all, from the first grade in contact with a variety of games, the truth is actually my game talent is still very large, from the realization of feeling I feel that it is better than most people, in fact, play a good game is not easy, to learn a lot of things. Experience is actually I often go online to see the Raiders, but also often see some of the great God's video operation, and I often hard to practice these things, the most important I think I am still more interested (not interested in who would like to spend time ...) The next semester will start Java, in fact, I do not know how Java is learning how to do. Whether they will be interested in the end. The next semester of study also some. Confused, but the heart is still a little nervous and excited.
-Investigation of the C language
1. How to learn C language: In fact, this problem is still very simple, I study the time is to read the book from beginning to end, and then for the typical example of the book I will knock the code, and then with the teacher hair practice, only select some look more typical to do once (after all, I am not immortal)
2. How many lines I can not remember, there may be thousands of lines, this kind of thing is to do more to have effect, dozen code dozen more than a lot of routines are similar to their own deep experience
3. Array pointer and pointer array listen, but the object is not the same, the former is essentially a pointer, the latter is an array, and the function pointer and pointer function is the same.
4. File and Stream differences: To be honest, I really don't know what these two are. May be my degree is not high, completely do not remember. text files and binaries I haven't heard of it. 2333
5. I know that Java is object-oriented, that is, to determine what your purpose is, what to do, how to do it, and then to express the process.
6. Template is the source, there is no program to write multiple source files ...
7. High cohesion means that the degree of polymerization between the modules is relatively high, mutual restraint and mutual influence, low coupling means the opposite.
8.
```
#include <stdio.h>
int main (VOID0)
{
int a[5],b[5],i;
for (i=0;i<5;i++)
{
scanf ("%d", a[i]);
B[i] = A[i];
}
for (i=0;i<5;i++)
printf ("%d", b[i]);
return 0;
}

int m,n,a;
scanf ("%d%d%d", &m,&n,&a);
if (n > m) {
int temp = m;
m = n;
n = temp;
}
for (int i = n;i<=m;i++) {
int flag = i;
while (flag) {
if (flag% = = a) {
printf ("%d\n", I);
Break
}
Flag/= 10;
}
}


for (int i = 0;i < arrays. Length-1; i++)

{

for (int j = i + 1;j < arrays. length;i++)

{

if (Arrays[i] > Arrays[j])

{

int temp = Arrays[i];

Arrays[i] = Arrays[j];

ARRAYS[J] = temp;

}

}

}
I do not know how many lines of code written, nor calculated. Pay more attention to this knowledge next time.
Breakpoint knowledge is not familiar .....


```
9. First of all, I personally think that C language and Java have a lot of similarities, I prefer to learn the code through the practice of knowledge, I still hope that teachers can pay more attention to each of our students, this way efficiency will greatly improve. Usually class listening is certain, the class more practice is the King, I hope I can really appreciate the law, look forward to ~
```

```

20165220 Learning Basic and C-language basic survey

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.