The fifth day of C + + Learning
1, Multiple choice questions
1. Perform the following procedure
char *str; cin >> str; cout << str; If you enter abcd 1234, output (D) A. abcd B. abcd 1234 C.1234 D. Output garbled code or error
str is a char * pointer, uninitialized, an ...
Posted by Bricktop on Sat, 30 Oct 2021 07:15:45 -0700
5 live555 source code analysis - live555 RTSP workflow
In the last article, we obtained the RTSP communication process through WireShark packet capture. In this article, we analyze the working principle of each process through code. The inheritance relationship of live555 is too complex, so I made a diagram to simply record the class inheritance relationship related to h264 file transfer
1, OPTIO ...
Posted by lip9000 on Sat, 30 Oct 2021 06:52:57 -0700
Crazy God. Java method learning
1, What is method
System.out.println(), so what is it?
A: System is "class". out is "output object". println() is "method".
A Java method is a collection of statements that together perform a function.
Method is an ordered combination of steps to solve a class of problemsMethod contained in a class or object ...
Posted by predhtz on Sat, 30 Oct 2021 06:47:39 -0700
Concurrent programming: the things executed out of order will be clear to you in five minutes
What is out of order execution
Disordered execution [1] is simply the execution order of the code in the program, which may be adjusted by the compiler and CPU according to some strategy (commonly known as "disordered") - although from the perspective of single thread, disordered execution does not affect the execution result.
Why d ...
Posted by NoDoze on Sat, 30 Oct 2021 06:42:26 -0700
6, RabbitMQ release confirmation
1, Release confirmation principle
The producer sets the channel to confirm mode. Once the channel enters the confirm mode, all messages published on the channel will be assigned a unique ID (starting from 1). Once the message is delivered to all matching queues, the broker will send a confirmation to ...
Posted by Kitkat on Sat, 30 Oct 2021 06:38:54 -0700
737-C++STL - principle of container space allocator
Implement a simple vector container
The implementation of all C++ STL containers needs to rely on a spatial configurator allocator. Although we don't pay attention to it when using containers, we have been using it all the time. The C++ STL library provides a simple implementation of the default spatial configurator allocator. Of course, we ne ...
Posted by robin on Sat, 30 Oct 2021 06:31:20 -0700
Summary of PC cloud music project on October 27, 28, 29 and 30
🌈 Preamble
It was supposed to write a summary yesterday. Yesterday, it was basically completed to transplant the music progress bar into the project and realize linkage with audio. But I was cheap last night 😂, In order to realize the function better, we hope to save the songs played by the user before and display them directly when open ...
Posted by Gabriel_Haukness on Sat, 30 Oct 2021 06:06:36 -0700
Android tutorial | UI layout RelativeLayout relative layout
home pagespecial columnandroidArticle details0Android tutorial | UI layout RelativeLayout relative layoutAndroid_ An Zi Published 3 minutes agoRelativeLayout overviewRelativeLayout inherits from android.widget.ViewGroup and completes the layout according to the position relationship between child elements. As the most flexible and commonly used ...
Posted by djcee on Sat, 30 Oct 2021 05:22:58 -0700
Guanxuan.NET 6 RC (Release Candidate) 2
We are pleased to release. NET 6 RC(Release Candidate) 2. It is the second of the two "go live" candidate versions supported in the production environment. Over the past few months, the team has focused on quality improvement. There are many new features in this release, but we will fully integrate them when we are close to the end. T ...
Posted by YuriM on Sat, 30 Oct 2021 05:02:58 -0700
MySQL incremental backup and recovery
introduction
Full backup is to back up all data contents. There are a lot of duplicate data in the backup data, and the time of full backup and recovery is very long. The solution to the problem of full backup is to use incremental backup. Incremental backup is to back up the files or contents added or changed since the last backup.
1 ...
Posted by pristanski on Sat, 30 Oct 2021 04:36:06 -0700