Summary of operations related to Matlab and C/C + + cell array cell
1 operation of cell array cell in MATLAB
Create a 6 * 4 array with reshape function:
A = reshape(1:20,5,4)'
be careful: During the use of reshape function, it should be noted that the dimension of the created array should correspond to the original quantity, otherwise the following error will be reported:
1.1 mutual conversion ...
Added by slipperyfish on Sun, 26 Dec 2021 09:49:29 +0200
[advanced C language] deep analysis of data storage in memory (full dry goods + recommended Collection)
reminder
Hello, I'm Cbiltps. If there are difficult to understand sentences and key points that are difficult to express in words in my blog, I will have pictures. So my blog with pictures is very important!!!
If you want to know me better, please see my first blog, the link is as follows:
https://editor.csdn.net/md/?articleId=1187784 ...
Added by plsanders on Sun, 26 Dec 2021 05:28:35 +0200
[data structure] linked list (one-way headless acyclic) (C language)
1. Basic concepts:
Linked list: a non continuous and non sequential storage structure in the physical storage structure. The logical order of data elements is realized through the pointer link order in the linked list.
The linked list has 8 structures:
1. Headless one-way non circulation 2. Headless one-way circulation 3. Leading single circ ...
Added by ruthsimon on Sun, 26 Dec 2021 03:35:55 +0200
C language strcat function - C language zero foundation tutorial
catalogue
I Introduction to strcat functionII Principle of strcat functionIII strcat function practiceIV Note the strcat function crashV Guess you like it
Zero foundation C/C + + learning route recommendation: C/C + + Learning directory >> Introduction to basic C language
I Introduction to strcat function
In the previous article, ...
Added by djjamiegee on Sat, 25 Dec 2021 22:36:23 +0200
Try to understand virtual functions thoroughly! (test platform: vs2018+win10)
First, link to several blog addresses: Analysis of C + + virtual function table
cout << "Virtual function table address:" << (int*)(&b) << endl;
cout << "Virtual function table - first function address:" << (int*)*(int*)(&b) << endl;
In this blog, cout < < virtual function table add ...
Added by ac1982 on Sat, 25 Dec 2021 19:35:10 +0200
C language small project - mine clearance (basic version)
preface
Minesweeping game is a small project that C language beginners need to practice. The most basic version of minesweeping implemented in this paper (i.e. only one grid can be swept at a time). The actual minesweeping game will have a function: when players click on the grid, it will expand outward until they are about to encounter th ...
Added by lightpace on Sat, 25 Dec 2021 16:38:59 +0200
GEC6818 milk tea system of Deadline in primary school
effect
As shown in the figure:
technological process
User login - > function selection - > corresponding function
thinking
For the use of the whole software, the acquisition of touch screen coordinate points is indispensable, so we open a separate thread to obtain touch screen coordinate points and run from beginning to end ...
Added by m3rajk on Sat, 25 Dec 2021 12:22:17 +0200
Exercise 2 - Data Lookup
subject
There is a group of numbers 12, 56, 45, 78, 90, 80, 23, 16, 8 and 63 stored in an array. Any number is received from the keyboard, and the number is searched in the array to give the information whether it is found. If found, it is required to output the position of the number in the array; If not found, output the prompt message th ...
Added by keldorn on Sat, 25 Dec 2021 09:42:49 +0200
C language implementation of B-tree
preface
Today, we will learn another advanced data structure B tree. We know that the query time complexity of the tree is directly related to the height of the tree. When we insert a large amount of data into the red black tree, there are two problems:
(1) First of all, memory is limited and it is impossible to insert data endlessly. BST bas ...
Added by hi-liter on Sat, 25 Dec 2021 04:18:39 +0200
C language training -- student achievement management system
At the end of learning the C language, the teacher asked us to do the system with reference to the code in GitHub. I have uploaded the complete code to the resource and intend to take it myself.
catalogue
I requirement analysis
1. Software development purpose
&n ...
Added by ukscotth on Sat, 25 Dec 2021 01:49:05 +0200