[C Entry, c Entry

Source: Internet
Author: User

[C Entry, c Entry

I remember that when I learned the C language, I was very envious of watching others write a variety of mini games and software. And myself, although speaking of syntax, but actually writing hundreds of lines of code, it seems powerless. Once I was very depressed, I read some books, mostly at the level of teaching syntax, some involve software design, but I cannot control hundreds of lines of code, I cannot fully understand the philosophy and essence of design.

 

Therefore, I thought that I had learned the grammar in the first month, and wrote this beautiful wish of my so-called "software" in the second month, which was ruthlessly broken. The reality is that the grammar has been completed in a month, but what we say is that in addition to adding a little talk or impersonating the "Great God" Capital in the group or forum, nothing else can be done. You can't write any funny cool-bits, nor the classic wuziqi games, nor write any small virus. I am just a reader who has read the classical book of C programming language.

 

As a result, I 've been immersed in the group for a few months and asked new users who are updated by me what is an array, what is a pointer, and what is a struct. Think about those days. Tens of thousands of lines may have been written for months. During this period, I did nothing. Frankly speaking, I could not do anything. The only advantage is that the discussion in the Group kept me fresh in my memory of the C language.

 

Later on, although I did not write much code, I still had a passion for programming. I went to the website every day, looked at new technologies, went to the Forum, and looked at New Code published by others, then he quietly commented on "worship the Gods ". Sometimes, when you see some simple code, you will be excited with an impulse to implement it yourself. As a result, it is like taking a few pounds of chicken blood, re-reading the C language, and writing code all night, the writing is dark. Of course, it is still not implemented. On a lonely night, I opened Baidu and searched for "how to write my own small projects" and "how to master C language ", "Why can't the code be written into the project" and other such questions, I have seen a lot of answers. In summary, it is a sentence: less code is written! In the answer, many people suggest looking at open-source projects with thousands of lines, so I downloaded a few and watched them for a few days and found that I still couldn't understand them. Finally, you can only give up.

 

Since I can't understand others and want to improve the C language, I had to start writing it myself. This is hard, it's sour, and I'm afraid of it when I think about it. Where is the problem from? Continue with the question and go deep into the algorithm? This idea works, but it is not enough to give yourself a complete software development experience. Write software? That's fine. However, if the function is weak, there is no sense of accomplishment. If the function is powerful, you only need to show your knees and do not have the ability to do that. Therefore, you can only write about the game, starting from this aspect.

 

Thanks to the Overlord, we have experienced many classic games. Therefore, it is better to write code to have a clear idea about the overall process.

 

Therefore, I plan to record the entire encoding process. I will give myself a souvenir, and I believe that many people, like me, are confused when they are new to programming and do not know how to write things. I recorded this. If one day my friends who are as confused as me saw this series of study notes, it would be enough to help you.

 

I don't know if most people are still familiar with the C language. Maybe many people are learning the current popular languages such as Java, Python, and PHP. Although these series of notes all use the C language, but it can also play a role in other languages. After all, the important thing is the coding idea and implementation process, rather than the language.

 

In addition, due to the limited level, all notes are aimed at achieving the goal, rather than focusing on performance, architecture, and other things that have never been seen before. After all, it is hard to remember learning without achieving the goal.

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.