[question 10] bracket matching | string processing (Beijing Institute of Technology / Beijing University of Technology / programming method and practice / primary school)

  catalogue preface program preface There are ready-made solutions to this question on csdn, @ has Beibei AC today? The blogger wrote very well and posted a website https://blog.csdn.net/weixin_43787043/article/details/108518190 Of course, I undoubtedly referred to her code, and then I drew and typed it myself, said my feelings ...

Posted by harrylt on Fri, 17 Dec 2021 00:21:37 +0100

Functions of c language

This book has a lot of references to c primer, which is mainly for review preface It can be said that function is extremely important in c language. We will certainly deal with it in programming. For example, when we use library functions: scanf and printf, these are the functions designed by the boss, which are very comfortable for us to u ...

Posted by ame12 on Thu, 16 Dec 2021 05:23:11 +0100

Day4 first knowledge of C language 12.15

Make a summary of this Tuesday's class notes. Catalogue Ternary operator (also called conditional operator) comma expression Supplement: unary operator Relational and logical operators True and false Keywords (cannot be created by yourself) typedef keyword: Register register keyword: static keyword (modify variables and functions) ...

Posted by ReD_BeReT on Wed, 15 Dec 2021 22:32:10 +0100

Construction type -- common body

Common body 1. Production and significance Compared with the common body, the biggest feature of the structure is that the members belong to the cooperative relationship. The size of memory space is allocated according to the order in which structure members are defined. However, the common body is different. The members of the common body ar ...

Posted by menelaus8888 on Wed, 15 Dec 2021 14:29:37 +0100

C language implementation of student management system (hand-in-hand teaching)

How to implement the student management system? First of all, we should be able to analyze the framework of the problem. In this way, when writing later, you will have a clear understanding of what you need. Then, the task of the management system is to delete, find and modify student information, sort and print information. These are the mos ...

Posted by melsi on Wed, 15 Dec 2021 12:49:27 +0100

C language constants

Basic introduction 1) Constants are fixed values and cannot be changed during program execution. These fixed values are also called literal values. 2) Constants can be any basic data type, such as integer constants, floating-point constants, character constants, or string literals, as well as enumeration constants. 3) The value of a consta ...

Posted by aa-true-vicious on Wed, 15 Dec 2021 08:26:00 +0100

2021-12-14 [Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3)]

A. Life of a Flower Title Description Petya has an interesting flower. Petya is a busy man, so she sometimes forgets to water. From the beginning of Petya's life, you have n days. You must determine what happened to his flowers in the end. The flowers grow as follows: If the flower is not watered for two consecutive days, it will die. If th ...

Posted by niranjnn01 on Tue, 14 Dec 2021 10:30:30 +0100

[C basic exercise] Week5: file operation | content reproduction | student performance analysis | count the number of letters

  catalogue Question 1: document content reproduction Question 2: analyze students' grades Question 3: count the number of times each letter appears in the text Question 1: document content reproduction First, manually create a TXT file in your editor directory and name it input_1.txt, the contents of the file are as follows: G ...

Posted by parkie on Tue, 14 Dec 2021 01:08:52 +0100

[C language implementation] detailed explanation of eight common sorting 10000 words

Dynamic diagram display and explanation of eight sorting Insert sort Insertion sorting means that in the elements to be sorted, assuming that the first n-1 (where n > = 2) numbers are already in good order, insert the nth number into the previously arranged sequence, and then find the appropriate position so that the sequence of in ...

Posted by timmy0320 on Mon, 13 Dec 2021 06:07:40 +0100

C language must recite 18 classic programs (including free source code)

1, C language must recite 18 classic programs The thousands or even tens of thousands of lines of C language program code you see are written with some basic statements and keywords. But their logic functions are different. How to quickly get started with C language code? It is recommended to read and write more. The following is a small compi ...

Posted by unknown101 on Mon, 13 Dec 2021 04:37:38 +0100