Experiment 12_ 6_ Familiar binary file

Title Description The commonly used data types are character type (char type), short type (short type), integer type (int type), long type (long type), extended long type (long type), single precision floating point type (float type) and double precision floating point type (double type). The problem revolves around data types and binary files ...

Added by slightlyeskew on Tue, 08 Mar 2022 00:09:55 +0200

L2-002 linked list de duplication - C language

Time: April 15, 2021 Topic source: Group programming ladder competition - practice set Title Description: Given a linked list L with integer key values, you need to delete the key value nodes with duplicate absolute values. That is, for each key value K, only the node with the first absolute value equal to K is reserved. At the same time, ...

Added by Komodo on Mon, 07 Mar 2022 20:24:28 +0200

[c language] student award information collection and management system

[c language] student award information collection and management system 1, Main function point requirements: 1. Basic information: (1) Basic information of students: college, major, grade, student number and name (2) Award information: a. Time of Award (year, month, day) b. Competition name c. Award level (e.g. national first prize; Provincial ...

Added by toddg on Mon, 07 Mar 2022 15:55:27 +0200

Application of two-dimensional array: Sanzi chess

Multi file programming: in the process of writing code, it is impossible to put all the code into one file. Here, the code executed by the game, the declared function and the implementation of the function are written separately, which can improve the readability of the code, facilitate the modification of the code, reduce coupling, improve the ...

Added by MLJJ on Sun, 06 Mar 2022 16:09:03 +0200

Building embedded real-time operating system from scratch 3 -- task state switching

1. Preface A walker asked the old Taoist priest, "what did you do before you got the Tao?" Old Taoist priest: "chop firewood, carry water and cook." The walker asked, "what about after gaining the Tao?" Old Taoist priest: "chop firewood, carry water and cook." The walker asked again, "what is T ...

Added by gli on Sun, 06 Mar 2022 09:26:20 +0200

Simulate a sequential stack

1. Introduction As a common abstract data type, stack is very common in common use. It is a linear table with limited operation. Limit linear tables to insert and delete only at the end of the table. This end is called the top of the stack, and the other end is called the bottom of the stack. Inserting a new element into a stack is also called ...

Added by wcl99 on Sun, 06 Mar 2022 09:07:30 +0200

Title 1469: reading of numbers

subject Professor Tom is teaching postgraduates a course on genes. One thing gives him a headache: there are thousands of base pairs on a chromosome. They number from 0 to millions, tens of millions, or even hundreds of millions. For example, when explaining the base at position 1234567009 to students, it is difficult to read the numbers accu ...

Added by alcibar on Sun, 06 Mar 2022 03:11:29 +0200

Prepare for the Blue Bridge Cup--High Precision Algorithms for Multiplication and Division

💟 Author's introduction: Hello, my name is Ceylan_, Can call me CC ❣️ * 📝 Personal home page: Ceylan_ Blog 🏆 Blogger information: ordinary freshmen have extraordinary dreams Columns Prepare for the Blue Bridge Cup    Deduct one question per dayPTA Sky Ladder Race ⚡ I hope you can support me a lot 😘 Progress Together~ ❤️ 🌈 If it helps ...

Added by nickiehow on Sat, 05 Mar 2022 19:22:41 +0200

Zombie process and daemon of Linux c/c + + process

1. Zombie process 1.1 definition of zombie process: The parent process creates a child process, and the parent process ends before the child process. If the resources of the child process are not released, it will become a zombie process and continue to occupy system resources 1.2 solutions to zombie process Before ending, the child proce ...

Added by DaPrince on Sat, 05 Mar 2022 17:22:58 +0200

2022 HZNU Programing Contest for Sophomore Grade Group

A. Petr Meaning: Given a string S, ask how many kinds of substrings start with stat string and end with end string. If they are exactly the same, they are regarded as one. Solution: Considering double hash, judging the equality of strings by hash value can achieve n 2 ...

Added by cookiemonster4470 on Sat, 05 Mar 2022 17:07:08 +0200