An article fully understands the list container in C++STL (with practical exercises - student achievement management system)
1. Basic concept of list container
(1) The list container is actually a linked list, which is different from the vector container. The list container stores the data chain through the pointer;
(2) The linked list is composed of a series of nodes. Each node is composed of the data field for storing data and the pointer field for ...
Added by jllydgnt on Mon, 03 Jan 2022 12:53:32 +0200
MSP430F5529 DriverLib library function learning notes SPI and screen
Platform: Code Composer Studio 10.3.1 MSP430F5529 LaunchPad™ Development Kit (MSP‑EXP430F5529LP)
Hard knowledge
Synchronization mode of USCI
SPI overview
SPI (Serial Peripheral Interface) is the abbreviation of Serial Peripheral Interface. It is a synchronous full duplex communication protocol. Usci of MSP430F5xx/6xx Series MCU_ A a ...
Added by jack5100nv on Mon, 03 Jan 2022 10:57:14 +0200
QT GUI programming!
1, QT basis
1.1 introduction to QT
1.1.1. What is QT
A bunch of C++/python class libraries (GUI classes, network,...)Free open source
1.1.2 QT characteristics:
Excellent cross platform characteristics: Qt supports the following operating systems: Windows, Linux, Solaris, sun0s, FreebSD, BSD/S, SCO, AIX, 0S390, QNX, android, etcobject- ...
Added by aladin13 on Mon, 03 Jan 2022 05:57:34 +0200
Knowledge of documents
1. What is a file and its unique identification: three elements (path, file name, suffix) File: a collection of data stored on external media 2. File operation function 2.1 fopen return value: two parameters of FILE pointer FILE * (the first parameter [FILE name] and the second parameter [how to open the FILE]) 2.2 there is only one Fclose} par ...
Added by dai.hop on Mon, 03 Jan 2022 00:10:11 +0200
LVGL official document - 7.11.0-16-Overview-Images
An image can be a file or a variable that stores the bitmap data itself and other metadata.
Store images
Images can be stored in two places:
Variables in internal memory (RAM or ROM)file
Variables
The image stored in the variable is mainly composed of LV with the following fields_ img_ dsc_ T structure composition:
header
cf color form ...
Added by dcro2 on Sun, 02 Jan 2022 19:45:32 +0200
Embedded foundation -- pattern matching of parsing string
Following the last article, the author introduces a simpler parsing tool, sscanf.
warm-up
When you are in C language class and doing c language course design or experiment, you should often contact printf and scanf. The former prints characters to standard output, while the latter reads and parses strings from standard input.
sscanf is simil ...
Added by jerryroy on Sun, 02 Jan 2022 16:06:15 +0200
C language explanation: operator
Operator
classification
arithmetic operator
Shift operators
Bitwise operators
Assignment operator
unary operator
Relational operator
Logical operator
Conditional Operator
comma expression
Subscript references, function calls, and structure members
arithmetic operator
+ - * / %
//1.
int ret = 9 / 2;
pri ...
Added by ltd on Sun, 02 Jan 2022 14:02:58 +0200
C language student management system
Project introduction
Student information management system is a system based on C language, which is useful to bubble sort, pointer, structure, binary array and so on. Write each function through modular method, and call the functions of each module in the main interface function to realize the following specific functions:
Addition, deletion ...
Added by M2tM on Sun, 02 Jan 2022 10:25:24 +0200
Select statement -- select the correct one
Select the type of statement
There are two kinds of selection statements in c language
1. if else statement 2. switch statement
As the name suggests, we will face some choices. If the selection is correct, it will be executed, otherwise it will not be executed
c language is a structured programming language There are sequential struct ...
Added by koenigsbote on Sun, 02 Jan 2022 06:58:12 +0200
(03) format input and output
1, Concept introduction
Basic learning stage: keyboard input and screen output. Input data from the keyboard and realize simple human-computer interaction. Output integers, floating-point numbers, characters, strings, and align data by formatting.
1. Standard input and output
In C language, there are three functions that can be used to in ...
Added by unknown101 on Sun, 02 Jan 2022 03:31:34 +0200