C language string function summary

introduce In the process of learning C language, the processing of strings is very frequent, but C language itself has no string type, so we need to use functions to facilitate our processing of strings. ● find the length of the string         strlen ● string function with unlimited length         strcpy         strcat         strcmp ● ...

Posted by rtown on Mon, 17 Jan 2022 15:41:33 +0100

C language - curriculum design

1, Experimental purpose Understanding the development environmentMaster the definition and use of structural variables;Master the definition and use of structure array;Master the basic methods of file input and outputMaster function usage 2, Experimental content [item 1] complete the design of the following functions. This student achieveme ...

Posted by spyderman on Mon, 17 Jan 2022 06:59:22 +0100

Compilation principle experiment: bottom-up syntax analysis - write the syntax analysis program of PL/0 language according to the grammar specification of PL/0 language

** Task description ** 1. Experimental purpose The PL/0 grammar specification is given, and the syntax analysis program of PL/0 language is required. By designing, compiling and debugging a typical bottom-up grammar analysis program, we can realize the grammar check and structure analysis of the word sequence provided by the lexical analysis ...

Posted by dezkit on Mon, 17 Jan 2022 04:50:49 +0100

C language student achievement management system (Easy graphical interface)

My little station—— Half raw melon blog Code file download link—— link Student achievement management system design sketch Process & key points The core part - EasyX displays the graphical interface, structure array and file operation, and is responsible for various operations on the data.As soon as you ...

Posted by theflea912 on Mon, 17 Jan 2022 02:33:14 +0100

13 C language advanced string function memory function

Character function and string function The analysis of the function part comes from( C + + Resource Network) Find string length strlenString function with unlimited length strcpy strcat strcmpIntroduction to string functions with limited length strncpy strncat strncmpString lookup strstr strtokError message report strerrorCharacter operation ...

Posted by horsetags on Sun, 16 Jan 2022 20:07:03 +0100

Training program - Platinum manual (personal information management system)

Training project - personal information management system preface This blog records the training project summary of rookie (I @~@) at the end of freshman year. It has been approved by the project team members before publication. Please keep the statement for reprint. Thank you. The main purpose of the project is to strengthen the abili ...

Posted by Nommy on Sun, 16 Jan 2022 18:19:30 +0100

C language beginner level: guessing numbers game

catalog: 1: Introduction to the number guessing game and expectation of the program 2: Program design idea: 1. General idea 2. Menu function 3. Some functions of the game 4. Main function 5. Code body III summary This paper mainly explains the number guessing game written in C language. The purpose is to introduce the specific usage ...

Posted by vargadanis on Sun, 16 Jan 2022 14:45:32 +0100

Elementary level of C language -- branch and loop statements

In the last article, we had a preliminary understanding of the concept of C language. In the next series of articles in the beginning of C language, we will step closer to C language and see what tricks we can make. Just like learning to drive a motor vehicle, we already know what a car is, what parts it has, and some necessary traffic rules. N ...

Posted by bhi0308 on Sun, 16 Jan 2022 12:23:58 +0100

Address book (c language version)

preface When we use mobile phones to make calls, we always use the address book when sending messages. What is the address book for? Obviously, it is used to store a person's information (name, telephone, address), etc We can query, delete, add and other related information The blogger wrote this blog to use our recent knowledge of C ...

Posted by aamirshah on Sun, 16 Jan 2022 10:20:02 +0100

Data structure - algorithm and program design

1, Experimental purpose Understand and master the type definition method of linear table.Master the basic operations in the sequence table, including the creation of the sequence table, the addition and deletion of elements, and the basic operations such as empty and full judgment. 2, Experimental requirements [Title 1 - three methods of fun ...

Posted by dswain on Sun, 16 Jan 2022 09:22:29 +0100