[1.1 case C] please write a thousand lines student management system with me in C language
1, This goal
Complete all preparations before the core header file, including the creation of a new project from VS2022 to the preparation of the first custom header file.
GitHub: https://github.com/ITchujian/StudentManagementSystem_2022_C
Note: in order to share the experience of this development, I will put the analysis process and ...
Posted by jazz_snob on Wed, 26 Jan 2022 16:39:42 +0100
[mine sweeping game] C language version -- Explanation of old maid version
Hello, everyone, that is, the latter game of Sanzi chess - mine sweeping. This game is much more playable than Sanzi chess. Correspondingly, an algorithm will be difficult to think of, but it is very similar to the game framework of Sanzi chess. Less nonsense. Next, let's start to analyze how mine clearance is realized.
catalogue
1, Initializ ...
Posted by php2MySQL on Wed, 26 Jan 2022 11:25:42 +0100
c language realizes the function of adding, deleting, modifying and checking the address book, and can sort the contacts
The idea of realizing address book is as follows:
1. When the program runs, the user should first see the Menu bar options and make a choice corresponding to the options given in the Menu bar. Here, we simply design a Menu() function to let the user see the optional items;
2. The user's optional range should be 1 ~ 7. In order to avoid th ...
Posted by StickeR on Wed, 26 Jan 2022 03:51:13 +0100
[C language] come and join tomato to realize simple mine sweeping
I hope the content of this article is helpful to the friends in need!
catalogue
file
Simple logic
Determine the target position
game2.h
game2.c
test2.c
file
Simple logic
Print menu - > select whether to enter the game - > initialize array - > mine array is initialized with character zero - > mine array is initialized ...
Posted by rhodesa on Wed, 26 Jan 2022 02:25:03 +0100
C language -- application example of array: minesweeping game
1, Rough model
2, Design ideas
Referring to the idea of normal minesweeping game, we should first know the number of grids on a chessboard and the number of mines, and then mark the grids that have been swept in the minesweeping process, and know the number of mines in the eight grids around this grid. When we successfully mark all the ...
Posted by aurheim on Wed, 26 Jan 2022 01:01:57 +0100
C language - memory function
Memory function
In C language, when a program is loaded into memory to run, the system will allocate an independent memory space for the program, and this memory space can be subdivided into many areas, such as stack area, heap area, static area, global area, etc
Stack area: save local variables. The variables stored in the stack area will be ...
Posted by Cerberus_26 on Tue, 25 Jan 2022 22:48:09 +0100
c language input and output and process control
catalogue
1, Input and output
1. Format and modifier
2.ASCII table
3.scanf and printf
2, Process control
1. Branch statement
1).if else
2).switch case
2. Circular statement
1, Input and output
1. Format and modifier
Formatter
d,iDecimal integerint a=456;printf("%d",a);456x,XHexadecimal unsigned integerint a= 255;pri ...
Posted by rachybaby on Tue, 25 Jan 2022 22:07:54 +0100
[mine sweeping game] simple simulation implementation explanation
preface
🚄 Input is the essence of learning and output is the means of learning.🔖 Share every learning and expect you and me to gain.🎇 welcome 🔎 follow 👍 give the thumbs-up ⭐ Collection ✉ Comments, common progress!🌊 "Be good enough to catch the surprises and opportunities given by God"💬 The blogger's level is l ...
Posted by 00tank on Tue, 25 Jan 2022 21:28:49 +0100
Using C language to realize the of small games -- [mine sweeping]
Use C language to realize a simple minesweeping game!
[game requirements]
[mine sweeping game]:
Layout Thunder - 10Minesweeping: enter coordinates
It was thunder - > killed! game over!
Not Thunder - > tell you how many thunder there are on the eight coordinates around this coordinate.
Until all the non mine positions are found ...
Posted by babybird11 on Tue, 25 Jan 2022 20:13:49 +0100
C + + learning record 2 -- classes and objects
1, Classes and objects
1. Class and object concepts
Everything is an object with attributes and methods. Objects with the same properties and methods (the same properties) can be abstracted as classes.
Properties and objects in a class are collectively referred to as members Attributes are also called member attributes, and member variab ...
Posted by jacobsdad on Tue, 25 Jan 2022 18:17:01 +0100