Compiling C/C with VSCode under Windows++

0. Preface VSCode (Visual Studio Code) is a lightweight and powerful editor. Users can install a variety of plug-ins to make it easier and more personalized. Although VSCode is an editor, it only needs simple configuration to enable VSCode to realize the function of compiler and program breakpoint debugging. 1. Download MinGW-w64 1.1 off ...

Posted by kat_jumper_33 on Sat, 22 Jan 2022 10:01:54 +0100

C language data structure (Zhu Zhanli): tree

Data structures: trees 1, Tree 1. Definition of tree A set composed of N nodes, n=0 is called an empty tree, and a tree with n=1 has only one node. For a tree with n > 1, T has: The top node is called the root node, and the root node has no precursor nodeExcept for the root node, the other nodes are divided into m disjoint sets, and each ...

Posted by buddymoore on Sat, 22 Jan 2022 09:31:54 +0100

Operating system leb5 experiment report

Experiment Name: Experiment 5: proc file system programming Experimental purpose 1. Familiar with Linux commands2. Familiar with system API and programming Experimental content In leb4, although we can obtain the family information of process number pid through the module with parameters, it is not convenient for us to obtain the family inf ...

Posted by qazwsx on Sat, 22 Jan 2022 01:44:27 +0100

Pointer array and array pointer - not twins of twins

catalogue 1, Pointer array 1.1 basic knowledge of pointer array 1.2 practical case analysis of pointer array Second, array pointer 1.1 basic knowledge of array pointer 2.2 application examples of array pointers 2.2.1 negative examples 2.2.2 correct examples As the title shows, today we will know a pair of twins, but not twins. 1, Poi ...

Posted by jovankau on Sat, 22 Jan 2022 00:21:45 +0100

Linear and circular interpolation of NC cross slide driven by stepping motor (with oblique ellipse interpolation code)

In my junior year, writing a blog is my experience of the recent course design for your reference. design sketch: First introduce the experimental equipment used this time: Cross slide, two stepping motors, a steering gear, an STM32 development board and a pen. The required software is Keil5 and CAD. python and matlab are useful in the el ...

Posted by neutra on Fri, 21 Jan 2022 19:44:49 +0100

Second learning of C language

bool data type true and false are not defined in C language C language uses 0 to represent false and non-0 (more than 1) to represent true Several common data types represent ranges int:10^9 long:10^9 long long:10^18 float: it accurately represents 6 digits after the decimal point, and errors may occur after 6 digits double:15 bits Not ...

Posted by obscurr on Fri, 21 Jan 2022 18:19:46 +0100

Double closed loop (speed + angle) control of DC coded motor

catalogue 1. Therefore, the PID is roughly the block diagram 2. The formula of pid controller is 3. Sensor data acquisition 4. The hardware adopted is as follows (already in the open source of Lichuang) 5. Project configuration 6. Software program configuration 7. Parameter adjustment process record Cascade control system It is one of ...

Posted by jbrave on Fri, 21 Jan 2022 16:59:26 +0100

Bmp image rotation and BMP to YUV (4:2:0)

1, Briefly introduce ideas: Brief description of BMP file: BMP file is composed of file header, information header, color information and graphic data. (since the 24 bit BMP here does not consider the color information), only the file header, information header and graphic data are left in the BMP file. When reading BMP, the reading order is: ...

Posted by hyngvesson on Fri, 21 Jan 2022 05:57:36 +0100

Infrared remote control experiment

Introduction to infrared The visible light that can be seen by human eyes is arranged according to the wavelength from long to short, which is red (660nm), orange (610nm), yellow (585nm), green (555nm), green (500nm), blue (460nm) and violet (405nm). Light shorter than the wavelength of violet light is called ultraviolet, and light longer than ...

Posted by departedmind on Thu, 20 Jan 2022 23:25:11 +0100

Advanced explanation of pointer - beginners can understand it

catalogue πŸ‘πŸ‘1. Character pointer πŸ‘πŸ‘Examples1 πŸ‘πŸ‘2. Pointer array πŸ‘πŸ‘Examples2 πŸ‘πŸ‘Β 3. Array pointer πŸ‘πŸ‘3.1 definition of array pointer πŸ‘πŸ‘3.2 & array name and array name πŸ‘πŸ‘3.3 use of array pointer πŸ‘πŸ‘4. Parameter transfer of array and pointer in function πŸ‘πŸ‘4.1 parameter transfer of one-dimensional array Β πŸ‘πŸ‘4.2 ...

Posted by y.t. on Thu, 20 Jan 2022 23:19:52 +0100