[Netplus] PingPong Example for Netplus quick start

Follow the previous chapter Initial heart It's been a week and we haven't met yet. I can't wait. Do you remember my promise to you? I said that everyone should be able to write high-performance web servers. Of course, this is just my voluntary confession. I don't know if I'm liked by you or whether you're willing to walk with me on this road. L ...

Posted by KITTfan2K on Thu, 14 Apr 2022 14:36:29 +0300

QT core - survival thread and event loop

preface The two most important things of QT are meta object and event loop. These two features are two sharp tools in daily programming. Understanding and using these two features are very helpful to write QT programs. For example, an innovative function point signal slot of QT is realized by using these two features (which may be explained se ...

Posted by flatpooks on Thu, 14 Apr 2022 14:06:02 +0300

L2-020 Kung Fu successor (tree establishment and BFS)

Description: Whether a martial arts can be inherited for a long time and carried forward depends on fate. Generally speaking, the martial arts taught by the master to the disciples are always discounted, so the more they are passed on later, the weaker the disciples' Kung Fu... Until a generation of a certain branch suddenly appears a disciple ...

Posted by CRichardson on Thu, 14 Apr 2022 09:08:25 +0300

How to customize RTCP information and use it in WebRTC

brief introductionThe author is currently working on an Android P2P video streaming project based on WebRTC. The existing demand is that the sender (Video Sender) stops transmitting video data to the Receiver after transmitting a certain number of frames to the Receiver (video Receiver). Since the sender cannot predict when the Receiver will re ...

Posted by lordgreg on Thu, 14 Apr 2022 08:43:41 +0300

C + + one week learning summary (February 28, 2021)

1. C + + class Composition of classes It consists of methods and data. Methods can be public or private. Data is generally private. Class Human{ public: void eat(); void drink(); void play(); void sleep(); private: void seeSister(); string name; int age; } 2. Constructor Classification of constructors Default constructor Custom c ...

Posted by mrbaseball34 on Thu, 14 Apr 2022 08:31:51 +0300

c + + Basic Combat

1. Folder related operations Judge whether the folder exists, and create it if it does not exist string pthOut="../demo/resultimg"; int direxists = access(pthOut.c_str(),0); //Parameter 0 indicates whether it exists or not, and returns 0 cout << direxists << endl; //Judge whether the folder exists, and return 0 if ...

Posted by TheMayhem on Thu, 14 Apr 2022 05:18:31 +0300

Collection class implementation

catalogue Title Description Train of thought analysis Topic analysis Pit Constructor Input function Insert behavior Delete behavior Destructor AC code Title Description Define the SET class, which is used to judge the relationship between several sets. Specific requirements are as follows: A constructor is required to construct a ...

Posted by scripterdx on Thu, 14 Apr 2022 03:58:44 +0300

C + + Universal Library -- < bits / STDC + + h> Introduction to header file (including source code)

To you and me: nothing dares to be careless, nothing dares to be slack, in awe, and dare not get complacent! ----------------------------------------------------------------------------------------------------------------------------------------------------------- Complete solution of C++ Library: http://www.cplusplus.com/reference/ In programm ...

Posted by pjsteinfort on Wed, 13 Apr 2022 21:44:16 +0300

C++ Diamond Inheritance Problem and Virtual Inheritance Analysis

Reproduced from: https://mp.weixin.qq.com/s/eBYegV9HC8mFaXX7w-XZNg Invasion and Deletion Ambiguity In object-oriented, it is often the case that a derived class has two or more base classes, and this behavior is called multiple inheritance, as illustrated below: If there is a data member with the same name in C lass A and C lass B in multipl ...

Posted by holladb on Wed, 13 Apr 2022 20:08:15 +0300

VC third party interface library xtreme Toolkit Pro instructions

Xtreme Toolkit Pro is the most comprehensive interface control package in MFC development. It provides 11 mainstream Visual C++ MFC Controls required for Windows development, including Command Bars, Controls, Chart Pro, Calendar, docking panel, Property Grid, Report Control, Shortcut Bar, Syntax Edit, Skin Framework and Task Panel. You can go t ...

Posted by themistral on Wed, 13 Apr 2022 10:54:26 +0300