[C + +] 2048 game series - fourth draft of optimization module [supplementary arrangement]
2048 - optimize four drafts - activate maximum score output [supplementary document operation]
(updating...) Reference blog: https://blog.csdn.net/qq_39151563/article/details/104283217 Currently completed:
[C + +] 2048 game series - Overview[C + +] 2048 game series - first draft of function module [matrix operation][C + +] 2048 game series ...
Posted by gotornot on Fri, 10 Dec 2021 14:10:43 +0100
C language - inline function, recursive function, pointer function
1. Preface
This article introduces the knowledge points of C language, such as inline function, recursive function, function pointer, pointer function, local address, const keyword, extern keyword and so on; These knowledge points are very common and important in actual project development.
The following describes each knowledge point in the ...
Posted by lyonsperf on Fri, 10 Dec 2021 14:05:55 +0100
C/C + + game project: minesweeping
The original version of mine sweeping can be traced back to 1973, a game called "square".
Soon, "square" was rewritten into the game "Rlogic". In "Rlogic", the player's task is to act as US Marine Corps Team members, find a safe route without mines for the command center. If all the roads are blocked by ...
Posted by JCBarry on Fri, 10 Dec 2021 12:42:11 +0100
(fast power algorithm + high precision) rogue P1045 Mason number
preface
At the end of the story, let's end with a very classic topic - "Mason number". Accept that there will always be high-precision operations we haven't prepared. Of course, we can prepare high-precision fast power templates in advance, but there will always be a time when there will be a lot of secrets. Even if there is an unpre ...
Posted by thinkmarsh on Fri, 10 Dec 2021 12:40:11 +0100
C + + template function
1. Template function
1. Declaration and definition of template function
C + + provides the concept of template programming. The so-called template is actually to establish a general function or class. The type inside the class and the formal parameter type of the function are not specified specifically, but are represented by a virtual ...
Posted by cool75 on Wed, 08 Dec 2021 12:11:43 +0100
pair and tuple in c + +
1, Complex data structure in c + +
Since c, c + + has also developed. Complex data structures are generally not supported in standard libraries. For example, multi-dimensional arrays, multi key KV, not to mention a complex batch of trees. In fact, it is well understood that as a low-level support language, c/c + + pursues high efficiency and m ...
Posted by DarrenL on Wed, 08 Dec 2021 08:39:56 +0100
Super star MOOC learning pass high level language programming C + + experiment 04 array of Jilin University and its application in programming (level 2021)
The skills of these questions are quite strong. We need to calm down and think and understand them
six Transfer 0 element
Title No.: Exp04-Basic05, GJBook3-06-06
Title: transfer 0 element
Title Description: write a program to move all 0 elements in a given integer array to the back without using other auxiliary arrays, and ...
Posted by techevan on Wed, 08 Dec 2021 04:42:24 +0100
[note] c + + uses thread class to realize multithreading
Note:
For error reporting:
I use DEV C + +, why do I report an error that I have no definition? [Error] #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler ...
Posted by newcastle_unite on Wed, 08 Dec 2021 03:49:36 +0100
Euler fast power / Euclidean extension algorithm / Euler Fermat power reduction
The following contents are the knowledge of Elementary Mathematics
catalogue
Euler fast power
Counting
Euler fast power
Euclidean (Extended) algorithm
Euclidean algorithm
Pei Shu theorem
extended euclidean algorithm
Euler Fermat power reduction
Euler function
Euler theorem
Euler extension theorem
Euler fast power
Count ...
Posted by loganbest on Wed, 08 Dec 2021 01:46:04 +0100
[C language] simple game item: "don't step on white blocks"
order
I suddenly like the word "startle Hong". Love at first sight is too superficial. Love over time is too pale. Others look at you secretly.
Hi! This is the fox~
The new week begins again. Time flies quickly. I don't know what to share with you. If you want to send partial algorithms, you're afraid that you don't understand, a ...
Posted by jcornett on Wed, 08 Dec 2021 00:59:13 +0100