C language - Joseph problem (Joseph Ring)
Joseph problem is also called Joseph Ring. Joseph problem has many variants. This paper introduces several solutions to several classical Joseph problems.
Question 1: Lu Zhishen eats steamed bread. It is said that Lu Zhishen hurried to daxiangguo temple in Kaifeng at noon one day and wanted to have a meal. At that time, there were 99 monks ...
Posted by BeanoEFC on Thu, 27 Jan 2022 09:13:33 +0100
STM32 porting modbus communication protocol concise tutorial
catalogue
1, Content discussed in this paper
2, Tools and source code
3, Modbus overview
4, Modbus RTU communication protocol
5, Complete Modbus I / O code
6, Complete Modbus logic function
7, Testing and verification
1, Content discussed in this paper
This paper briefly introduces the Modbus communication protocol, realizes t ...
Posted by cidesign on Thu, 27 Jan 2022 08:45:09 +0100
Take you by hand to learn how to guess numbers and write the code of the game
Statement: because I am a non professional transcoder and my personal level is limited, there will inevitably be inaccuracies in my blog. If any readers find it, I urge you to actively point out that I also want to know where my mistakes are. Welcome to correct and make progress together.
contact information: 3146367553@qq.com
If you want ...
Posted by kiwis on Thu, 27 Jan 2022 08:22:52 +0100
Latent C language - function
Function classification of C language:
1. Library function:
1.1 IO function
1.2 string operation function
1.3 character operation function
1.4 memory operation function
1.5 time / date function
1.6 mathematical functions
1.7 other library functions
How to learn to use other unfamiliar library functions?
Search site: cplusplus.com - Th ...
Posted by Saeven on Thu, 27 Jan 2022 03:45:55 +0100
[1.2 case C] please write a thousand lines student management system with me in C language
Previous review
Custom precon H header file. Function: it is contained in the core header file, so as to call the relevant defined dataDefine Boolean and Status return value types, which are essentially int typesSqList and ElemType are two structures defined. In fact, they belong to independent structures Struct nestingDefine and initialize ...
Posted by exasp on Thu, 27 Jan 2022 03:38:04 +0100
C++ Polymorphic Employee Management System A blog entry into C Duck and Duck
Catalog
1. Management System Requirements
2. Create a worker class
2.1 Employee abstract base class
2.2 Create Boss Class
2.3 Create Manager Class
2.4 Create a common employee class
3. Create Management Classes
3.1 Header File Implementation
3.2 Source File Implementation
4. Functional Realization
4.1 Exit the hypervisor
4.2 Increas ...
Posted by burhankhan on Wed, 26 Jan 2022 22:06:33 +0100
Essential C++--Exercise of Chpt.2
preface
this article is used to record reading the book Essential C + +, CHPT 2. Finish the exercises after class.
Text (Code)
2.1 Continuous Input
the previous main() only allows the user to enter a location value, and then ends the program. If the user wants to get two or more element values, he must execute the ...
Posted by GaryAC on Wed, 26 Jan 2022 21:29:39 +0100
[improve a little every day] C language problem brushing skills and training 2
Congratulations on finding the treasure. This is a moment. I'm glad to serve you~
Today is the new year in the south. I wish you a happy New Year!
1. Return value of printf
Title: describe KiKi wrote an output "Hello world!" Mr. BoBo told him that the printf function has a return value. You can help him write a program to ou ...
Posted by theblacksheep on Wed, 26 Jan 2022 20:59:45 +0100
51 single chip microcomputer learning 2 -- making simple nixie tube electronic clock with DS1302
catalogue
1, Hardware circuit
2, DS1302
1.DS1302 overview
2.ds1302 control register
3.DS1302 sequence diagram
(1) Byte Reader:
(2) Byte writing program
(3) Initialization procedure
(4) Conversion time program
III. nixie tube
IV. main program
1, Hardware circuit
2, DS1302
1.DS1302 overview
DS1302 is a trickle charg ...
Posted by nepeaNMedia on Wed, 26 Jan 2022 20:35:00 +0100
Pointer to various applications [real interview questions of large factories]
Analysis of various applications of pointer and real interview questions of large factories
preface
Most of the pointers learned by beginners or ordinary colleges and universities are simple, that is, we understand that the pointer is an address. We can operate the address content through dereference operation, which is often limited ...
Posted by rharter on Wed, 26 Jan 2022 18:34:39 +0100