C/C++ common console functions
C/C++ common console functionsPreface: Include the header file Windows.h#include<Windows.h>copyIt should be noted that this header file contains the definitions of most win api functions, not just the console apiView all available operations console API function1. Modify and get the titleUse function: SetConsoleTitleA,GetConsoleTitleAprot ...
Posted by Kitara on Tue, 21 Mar 2023 06:48:21 +0300
[Set framework] List, Set and Map
1, Basic points
1. A collection is similar to an array, but the number of elements in the collection can change dynamically Note: a collection can only store user-defined data types, not basic data types
2. Sets are divided into three categories
List: the stored data can be repeated and in orderSet: the stored data is non repeatable and unor ...
Posted by my800stuff on Tue, 17 May 2022 01:13:38 +0300
STL_set and multiset containers
1, Introduction to set/multiset
set is a collection container, in which the elements are unique, and the elements in the collection are arranged in a certain order. The element insertion process is based on sorting rules, so the insertion location cannot be specified.
set adopts the data structure of red black tree variant, which belongs to b ...
Posted by radstorm on Wed, 27 Apr 2022 06:21:15 +0300
Python standard data type
Python standard data type
In Python, variables do not need assignment, and each variable must be assigned when used. After assignment, the variable will be automatically created. In Python, all variables have no type, and variables are just variables. The type we say is only the type of object that the variable points to in memory. In Python, ...
Posted by Domcsore on Sat, 16 Apr 2022 10:11:01 +0300
[Java source code series] String underlying structure analysis
String inheritance relationship, core member variable, main constructor:
public final class String implements java.io.Serializable, Comparable<String>, CharSequence {
/**
* 1.final It will be cached by the jvm, which improves the performance
* 2.fianl Variable thread safety saves the cost of thread synchronization
* Be ...
Posted by Skittlewidth on Tue, 05 Apr 2022 20:56:16 +0300
JavaSE -- Collection overview and common methods in the Collection interface
1. Overview of Java collection framework
Collections and arrays are structures that store multiple data. They are called and Java containers for short. Note: storage at this time mainly refers to storage at the memory level, and does not involve persistent storage (. txt,.kpg,. avi, in the database) Characteristics (advantages) of array ...
Posted by jordy on Tue, 05 Apr 2022 17:56:26 +0300
Python Chapter 2 Collection
2.4 assembly
1. Basic concepts
Set:
Collections are similar to dictionaries in that they are enclosed by '{}', but the elements in the dictionary are key value pairs, while the elements in the collection are the same single values as list s and tuple s.The types of data elements in strings, such as floating-point numbers, are not variable.Th ...
Posted by jcampbell1 on Sun, 27 Mar 2022 21:42:24 +0300