Zero basics, C language, first knowledge of C language
1. What is C language
C language is a general computer programming language, which is widely used in Bottom development. The design goal of C language is to provide a programming language that can compile and process low-level memory in a simple way, generate a small amount of machine code and run without any running environment support. A ...
Added by greatepier on Wed, 13 Oct 2021 00:50:20 +0300
C language file reading and writing fseek function - C language zero basic introductory tutorial
catalogue
1, Introduction to fseek function2, fseek function practice3, Guess you like it
Zero foundation C/C + + learning route recommendation: C/C + + Learning directory >> Introduction to basic C language
1, Introduction to fseek function
fseek function Used to move the read-write position of the file stream; Just like the pla ...
Added by bills50000 on Tue, 12 Oct 2021 06:29:26 +0300
Format log file
Experimental content
Program to read and write a file test.txt, and write a line of data to the file every 1 second, similar to this
1, 2021-7-30 15:16:42
2, 2021-7-30 15:16:43
The program should loop indefinitely until you press Ctrl-C to interrupt the program. The next time you start the program to write a file, it can be appended to the ...
Added by agentsmith on Tue, 12 Oct 2021 05:55:03 +0300
STM32 program architecture kernel porting
catalogue
1, Why use program architecture
2, Transplantation practice
3, Explanation of system execution process
4, Explanation of queue algorithm
1, Why use program architecture
1. Improve the stability of the program and avoid code conflict.
2. Solve common pain points in product development.
For example, short press, short pre ...
Added by Aretai on Tue, 12 Oct 2021 04:49:05 +0300
[pointer doll] advanced explanation of pointer
preface
First, let's review the concept of pointers
A pointer is a variable used to store an address, which uniquely identifies a piece of memory space.The size of the pointer is fixed at 4 / 8 bytes (32-bit platform / 64 bit platform).Pointers are typed. The pointer type determines the step size of the + (-) integer of the pointer and th ...
Added by 10legit10quit on Mon, 11 Oct 2021 22:13:56 +0300
Further exploration of C language linked list - TypeDef Struct pattern declaration linked list node
0 order
All the books on the Internet I saw before were Struct directly creating nodes.
I remember typedef struct is a method used to declare linked list nodes in the data structure textbook in college. This method makes it easy for people to operate the linked list. Later, I threw away the books and bought pirated books. I don't know ...
Added by williamZanelli on Sun, 10 Oct 2021 17:18:15 +0300
C Language Summary
I. Recursive and callback functions. 1. Recursive Functions A recursive function is defined as the function itself calling itself continuously within its body until the end condition is established. The most important part of a recursive function is the end condition. If the end condition is not present or it never holds, then a dead recursion ...
Added by scottbarry on Sat, 09 Oct 2021 19:37:33 +0300
Experience in using stl container
1. The associated container implements its own comparison type
We often define a container.
vector<int> vec;
In fact, this is the abbreviation of the following function.
vector<int, less<int>> vec;
vector<int, less<int>, allocator<int>> vec;
It is only the default. The default size comparison function ...
Added by speckledapple on Fri, 08 Oct 2021 07:40:18 +0300
zabbix joins grafana to draw
zabbix joins Grafana to draw
1. Introduction to grafana
Grafana is an open source data visualization tool developed in Go language, which can do data monitoring and data statistics, with alarm function. At present, there are many companies using grafana, such as paypal, ebay, intel, etc.
2. Introduction to grafana
Grafana is a cross platfor ...
Added by marconi8 on Fri, 08 Oct 2021 02:56:12 +0300
The Foundation of C + + -- notes based on C++ Primer I
The notes are based on C++Primer(5th Edition) and use C++11 standard
Because the author is a beginner, the content will not be comprehensive
If there is any mistake, please point it out directly
-2021.7
According to the content of C++ Primer, the notes will be divided into four parts:
C + + Basics C + + standard library Class design Other ...
Added by w4seem on Thu, 07 Oct 2021 21:24:11 +0300