Campus navigation assistant - course design
Neusoft campus navigation assistant
Function description
1. Design the campus plan. Among them, there are at least 12 representative places. The vertex in the plan represents the representative place in the school, and the weight on the edge represents the distance between the two points;
2. In order to realize the management of the sub func ...
Posted by derezzz on Tue, 01 Feb 2022 13:34:07 +0100
C Primer Plus Chapter 2 C Language Overview - programming exercises
1. Write a program and call printf() function once to print your first name and last name on one line. Again, the printf () function prints your first name and last name on two lines. Then, call the printf () function twice to print your first name and last name on one line. The output should be as follows (of course, replace the content of the ...
Posted by owner on Tue, 01 Feb 2022 12:11:31 +0100
Use of queue in CMSIS/FreeRTOS
In the embedded system with streaming data processing, queue is almost inevitable to be used, but the FreeRTOS routines provided by most development boards do not contain queue, so you have to study it yourself. This time, my example inserts the data received from the serial port into the queue by bytes and then let another thread process it. T ...
Posted by kaushikgotecha on Tue, 01 Feb 2022 05:24:37 +0100
C language_ Branch and loop statements
C language is a structured programming language: 1. Sequential structure; 2. Select the structure (branch statement or loop statement); 3. Loop structure (loop statement)In C language, what is separated by a semicolon is a statementBranch statements: if, switch Circular statements: while, for, do while
1. if statement
int main()
{
int age=20 ...
Posted by M4ngo on Tue, 01 Feb 2022 04:20:57 +0100
C language minesweeping
C language minesweeping
The code implementation of mine sweeping is similar to that of Sanzi chess. The main difference lies in the implementation of game code
Divided into three files to write test c ,game.h ,game.c
test.c: Used to implement the overall framework and test code
game.h: Used for symbol definition, function declaration an ...
Posted by Catfish on Tue, 01 Feb 2022 00:40:15 +0100
HDL4SE: software engineers learn Verilog language
8 write custom basic units in c language
This section was originally intended to continue to learn verilog language, but the software development progress bar is too heavy to be pushed, so it can only be worn slowly. Without the cooperation of software, the learning effect is worse, so bring the later content to the front. Of course, it's also ...
Posted by nadinengland on Mon, 31 Jan 2022 17:37:48 +0100
C language uses GNU extension to realize simple intelligent pointer
C language uses GNU extension to realize intelligent pointer
GNU/C has one__ attribute__ The extension is called cleanup: https://gcc.gnu.org/onlinedocs/gcc-4.6.2/gcc/Variable-Attributes.html#Variable-Attributes
Its function is to automatically execute a bound function when a variable is out of its scope This out of scope can be out of curly ...
Posted by sweyhrich on Mon, 31 Jan 2022 15:54:59 +0100
Brother Jiang takes you to play with C language | 17 - file operation
Basic concepts of documents
File stream:
c language regards a file as a sequence of characters, that is, a file is a character stream composed of one character. Therefore, c language also calls a file a file stream. Document classification
text file
It is stored in ASCII format, and one character is stored in one byte. Each byte of ...
Posted by gentusmaximus on Mon, 31 Jan 2022 14:12:06 +0100
Mom doesn't have to worry about my C language anymore!
Mom doesn't have to worry about my C language anymore!
Keep a good habit, point a praise, pay attention and then go! It is recommended to collect those summarized during the preparation for college entrance examination.
Algorithm summary
x
+
...
Posted by PHP_mySQL__Newbie on Mon, 31 Jan 2022 12:20:11 +0100
The strongest C language tutorial in history -- file operation
catalogue
(4)fputs()
(5)fprintf()
(6)fscanf()
(7)fwrite()
(8)fread()
4.1 comparing a set of functions
4.1.1 understand sscanf() and sprintf() functions
5. Random reading and writing of documents
5.1 fseek()
5.2 ftell()
5.3 rewind()
6. Text files and binary files
7. Determination of the end of file reading
7.1 misused feof
8. ...
Posted by FUEL on Mon, 31 Jan 2022 08:24:59 +0100