I always feel that the word "life" is a bit too big, but I am at a loss for words and can’t think of a more appropriate word. In my sophomore year, I took the C language exam. It is not easy to learn C language well, and I dreamed of getting an "excellent" score to prove myself. The result was not too bad, but not as good as I expected. I don’t know if I’m overthinking it or... I always feel that there is some flavor of life in C programs. For example...... Because scanf can printf Most complex programs need scanf to let the user input and then output to get the desired result. If you need to input letters and you input Arabic numerals, the program will fail and you will not get the desired result. If you want good output in life, you must first pay, pay correctly, and then you can get the correct printf when everything is ready. Programs need debugging, and life will also encounter bugs Life is not as you wish. No one's life is smooth sailing and full of flowers. Even the best programmers can make mistakes in programming. At this time, debugging the program becomes the first thing to do. Instead of complaining about life, it is better to constantly adjust yourself, face difficulties, adjust your mentality, find a breakthrough point, and one day you will see the light at the end of the tunnel. The road to study is like a for loop Aside from kindergarten, elementary school, middle school, and high school are all small for loops. When you meet the requirements, you can end the loop, then you can get your diploma and move on to the next stage, classes, breaks, exams, and holidays. Some excellent people can skip grades because they add a break to their "loops" so that they can jump out of the loop once the conditions are met without having to judge again. Parents and home are like main() Every C program must have a main(), which silently watches various newly defined functions take effect and silently provides the "background" of the program. main() is not necessarily at the beginning or at the end. You can put it somewhere in the program according to your preferences, but their role is irreplaceable. As children, we are like newly defined functions, declared in large curly braces, called... to achieve our own functions. Every "pointer" in life is a role Before I learned about pointers, I often wondered when I looked at the catalog whether the pointer was a second hand, a minute hand, or an hour hand. The C program showed that it was not a needle at all. Its use is comparable to the Dinghai Magic Needle of the old Dragon King. It can point to an address, can have different types, and so on. In short, through it, we can eventually find the data. Each of us has different pointers, with different signs, to find our different roles in life. We can be children, students, citizens, employees, etc. Each role type is different, and the responsibilities to be assumed are also different. C program, you are a rigorous "Northeasterner" You are not like the Jiangnan women who can open a web page with HTML and look gorgeous, nor are you as smart and capable as MATLAB who is full of unparalleled knowledge. You are just a Northeastern person, passionate and heroic, with a bit of rigor, rough but meticulous, without any tricks, right is right, wrong is wrong, without any ambiguity. ......It seems that C language, this "foreign language" that has troubled me for a long time, also has this kind of taste for you. Hello, I am C language |
<<: Automatic iOS updates can make you late for work the next day
>>: A picture to understand the front-end performance optimization of Html5
Many people shudder at the sight of these four wo...
Logically speaking, brands have to pursue more. T...
On May 8, Beijing reported a critically ill patie...
The core findings of the 2019 Wedding Photography...
When it comes to buying a TV, almost all consumer...
gossip Recently, the 36-year-old singer Zhang Hen...
As the Chinese saying goes, a day's plan begi...
In 2024, the Xinjiang Association for Science and...
Source code introduction: Customize the digital p...
With the vigorous development of the new energy i...
Recently, fishing officially started in the water...
If 2019 is the first year of 5G commercialization...
A reporter recently learned from China University...
At 11:47 on August 3, 2023, my country successful...
Expert of this article: Pa Lize, chief physician ...