[C language] file operation

preface When we write a piece of code to process the data, the data is stored in memory. When the program exits, the data does not exist. When the program runs next time, the data must be re entered, which involves the problem of data persistence. The general methods of data persistence include storing the data in disk files Stored in th ...

Added by ferhanz on Tue, 28 Sep 2021 10:52:02 +0300

[learning notes] what do you know about queues, monotonous queues and cyclic queues? (implemented in C language)

queue Basic concepts Queue is a first in first out (FIFO) data structure.For a queue, the end of the table is called the tail, and the end of the header is called the front.All elements can only enter from the end of the queue. The operation of entering the queue is called joining the queue.At the same time, all elements can only be ejected ...

Added by Pethlehemm on Mon, 27 Sep 2021 06:04:49 +0300

C/C + + practice - True and false

In the C11 standard document, the operation resu lt s of the relational operators <, >, < =, > = are specified. When true, it returns 1, when false, it returns 0, and the return type is integer. Operator = == Similar to relational operators, it returns 1 or 0 except that the operation priority is low. The definition of t ...

Added by gregtel on Sun, 26 Sep 2021 21:28:11 +0300

Go language pointer

&Bracket asterisk principle: due to the conflict of the editor, (*) only represents an asterisk &Null principle for pointers that do not point to addresses: if a pointer is declared but does not point to an address, the address of this pointer will be nil (null) &Pointer first allocates address space principle: after declaring ...

Added by joespenceley on Sat, 25 Sep 2021 14:35:02 +0300

Student achievement management system (C language linked list)

  catalogue   1, Course design topic and content   2, Main design ideas   3, Program source code and specific notes   (1) Preprocessing instruction (2) Type definition 1.student type definition two   studentNode type definition three   studentList type definition (3) Function prototype (4) main function ...

Added by jllydgnt on Fri, 24 Sep 2021 17:41:32 +0300

C language review

C language review I've been learning data structure recently. Let's review the c language first (1) Data 1. Constants and variables 2. Data type (2) Operator Operator prioritization: ! Non > arithmetic operator > relational operator > & & and, | or > assignment operator (3) Statement 1. Assignment statemen ...

Added by realestninja on Thu, 23 Sep 2021 09:02:43 +0300

Combination of KMP with AC automata and DP

Design password Now you need to design a password S , S S,S S. S needs to meet: S The length of the is N; S Contains only lowercase English letters; S Contains no substrings T; For example: ...

Added by cjacks on Wed, 22 Sep 2021 01:23:51 +0300

Discussion and design of string function and memory operation function in C language

Analysis and design of string function The processing of characters and strings in C language is very frequent, but C language itself has no string type. Strings are usually placed in constant strings or character arrays. String constants apply to string functions that do not modify it. Let's understand some string functions in the libra ...

Added by miro_igov on Tue, 21 Sep 2021 21:16:36 +0300

❤️ Detailed explanation of library function ❤️ Take a look at these C language essential library functions. Can you understand them all

⭐ ♪ previous words ⭐ ️ This blog is about the introduction of C language library function pointers ❤️ Detailed explanation of library function ❤️, Take a look at these C language essential library functions. Can you find them according to the directory. 👋 Hi~ o( ̄▽  ̄) here is the pig programmer 👀 Nice to meet you O(∩) O! 🌱 Now ...

Added by toms100 on Tue, 21 Sep 2021 11:44:10 +0300

LeetCode skimming - find the central index of the array

This is the 1st / 100th question that I insist on swiping the card~   1, Title Description Give you an integer array nums, please calculate the central subscript of the array. The central subscript of the array is a subscript of the array. The sum of all elements on the left is equal to the sum of all elements on the right. If the centra ...

Added by vasoftwaresolutions on Tue, 21 Sep 2021 11:36:52 +0300