C + + enhancements to C
Header file name
In the new style of C + +, the expanded name of header file is cancelled
object-oriented
C language is a process oriented programming language.
The core of process oriented programming is: function decomposition, top-down, layer by layer decomposition and layer by layer refinement.
Program = data structure + algorith ...
Posted by fleabay on Sun, 05 Dec 2021 02:33:23 -0800
Solution to the problem of Niuke Xiaoyue race 41 (A~F)
Today is lzgg a question, a special session for Xiao Hong; The topic is not very difficult, but the website always collapses during the competition, so the experience is not very comfortable;
A. Xiao Hong's sign in question
Title: Portal
Question meaning: a question, a total of b people participated, and the total number of questions passed ...
Posted by ineedhelp on Sun, 05 Dec 2021 00:29:12 -0800
C + + virtual functions and polymorphism
one virtual function
one point one definition The member function decorated with virtual is called virtual function
one point two Impact on class memory
An empty class (there is no data member ...
Posted by elgordo1960 on Sat, 04 Dec 2021 20:04:53 -0800
Introduction to ACM [read in and output optimization]
This article is mainly a summary based on oiwiki, and will do a series of related articles in the future. If you want to continue reading, you can follow the column. The purpose of this column is to lay a foundation for my recent systematic. So I want to write a column for beginners who like ACM.
Why read in and output optimization
In f ...
Posted by ugriffin on Sat, 04 Dec 2021 18:18:09 -0800
PAT class a 1119 pre - and post order Traversals
PAT class a 1119 pre - and post order Traversals
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and inorder traversal sequences, or preorder and inorder traversal sequences. However, if only the postorder and preorder traversal sequences are given, ...
Posted by highjo on Sat, 04 Dec 2021 16:05:14 -0800
C + + Basics (C++Primer learning)
Fundamentals of C + + (IV)
C + + classes (Continued)
Think: the code style written before is not good. As a rule, the class function declaration should be placed inside the class, but the definition should be placed in the cpp file, while the class declaration should be placed in the header file, which makes the code look more neat and clear. ...
Posted by Myss on Sat, 04 Dec 2021 15:02:08 -0800
Article editor
1) Design purpose:
(1) Memorize and understand common data structures such as linear table, stack, queue, string, array, tree and graph from three aspects of data logical structure, storage structure and operation;
(2) Understand the sorting and search operations implemented on various common data structures;
(3) Have a certain ability to analy ...
Posted by gaza165 on Sat, 04 Dec 2021 13:47:58 -0800
ESP8266_ RTOS_ linux environment construction of SDK (3.0)
preface
Recently, I bought a month's standard example on Tencent cloud Internet of things platform and sent an ESP-12S development board to start the systematic learning of ESP8266. Therefore, I have reinstalled ubuntu several times. After thinking about it, I'd better record the ESP8266_ RTOS_ SDK_ The linux environment of V3.0 is built step ...
Posted by premiso on Fri, 03 Dec 2021 19:03:17 -0800
P1352 SSL 1607 party without boss (chain forward star)
Title Description:
Title portal
Problem solving ideas:
According to the meaning of the question, this question is to select several points on a tree to maximize the point weight, in which the selected points meet two conditions:
If the parent node is selected, the child node cannot be selectedIf a child node is selected, the parent node c ...
Posted by kir10s on Fri, 03 Dec 2021 18:38:00 -0800
First Experience of STL
First Experience of STL
1. Basic concepts and composition of STL
Basic concepts: The full name of STL is the Standard template library, also known as the standard template library, which contains a large number of template classes and template functions. STL is also a collection of containers, algorithms, and other components.
Three core ...
Posted by zplits on Fri, 03 Dec 2021 15:38:52 -0800