1. What is a statement?
Inside the main() function are instructions and related data arranged in order. We can understand these instructions and data as commands we send to the computer. In programming languages, we call such commands statements.
C statements can be divided into the following five categories:
Expression statement ...
Posted by love_php on Wed, 13 Apr 2022 05:11:58 +0300
Recently, I began to understand the structure of c language, including the concept of linked list.
Preliminary understanding of his implementation. Now let me share with you how to learn the linked list.
 Basic concepts of linked list
 Static linked list
1. We first create a structure as the node data type.
2. Create node ...
Posted by chrispols on Tue, 12 Apr 2022 22:22:55 +0300
1, Change timer settings
2, Interrupt program
The book continued last time. After completing the key control flow lamp, I had a new understanding of the interrupt system, so the key control square wave output became simple this time. Next, let's look at the specific task: generate square wave with ...
Posted by Youko on Tue, 12 Apr 2022 21:55:19 +0300
1. Declaration of structure
1.1 basic knowledge of structure
1.2 declaration of structure
1.3 special declaration
1.4 self reference of structure
1.5 definition and initialization of structure variables
1.6 structure memory alignment
1.7 modify the default alignment number
1.8 structural transmission pa ...
😀 Hello, I'm Bai Chen. I'm not very able to stay up late 😫， But people who want to get better ✈. If you like this article, give it a compliment 👍， Pay attention 👀 Bai Chen! Your support is my biggest motivation! 💪💪💪
Bai Chen reviewed my C + + learning journey during this period and found many bumps and difficulties. Ther ...
Posted by carrot on Tue, 12 Apr 2022 05:18:24 +0300
Today, Jieyuan brings you the use and difference between sizeof and strlen
Sizeof is a built-in operator of C language, which gives the size of the specified type in bytes. C99 and C11 provide%zd conversion descriptions to match the return type of sizeof. Some compilers that do not support C99 and C11 ...
Posted by crob611 on Tue, 12 Apr 2022 03:01:51 +0300
Implementation principle of malloc and free under glibc (4): tcache
tcache is a new mechanism introduced after a certain version of glibc to improve the performance of heap management.
In fact, when we use pwndbg to debug heap related programs now, we will find that many free chunk s are classified as tcache
Many vulnerabilities ...
Posted by cesarcesar on Mon, 11 Apr 2022 14:42:57 +0300
GStreamer Tutorial 3 Chinese Translation
Due to work reasons, the image decoding library of GStreamer is used, so the Chinese translation and personal understanding of GStreamer Tutorial are recorded for learning. If there are deficiencies, please give more advice. Invasion and deletion.
Basic tutorial 3: Dynamic pipelines ...
Posted by Stevan on Mon, 11 Apr 2022 09:48:28 +0300
Given a string containing only the numbers ， 2-9 ， returns all the letter combinations it can represent. The answers can be returned in any order.
The mapping of numbers to letters is given as follows (the same as telephone keys). Note that 1 does not correspond to any letter.
Input: digits = "23" ...
Posted by smoked1 on Mon, 11 Apr 2022 08:29:23 +0300