Sort And Partial Sort You can sort a range with std::sort or std::stable_sort or sort until a position with std::partial_sort. In addition std::partial_sort_copy copies the partially sorted range. With std::nth_element you
Modifying Algorithms
Copy Elements and Ranges You can copy ranges forward with std::copy, backward with std::copy_backward and conditionally with std::copy_if. If you want to copy n elements, you
Non-Modifying Algorithms
for_each Search Elements std::find, std::find_if, std::find_if_not, std::find_of, and std::adjacent_find Count Elements std::count, and std::count_if Check Conditions on Ranges std::all_of, std::any_of, and std::none_of Compare Ranges equal
calculus Early Transcendentals (Book)
https://www.malabdali.com/wp-content/uploads/2020/07/Calculus-Early-Transcendentals-8th-Edition-2015.pdf
Smart Pointers
std::unique_ptr After we left the scope, both objects are destructed immediately and their memory is released to the heap. Let’s have a
Placement new operator in C++
Placement new is a variation new operator in C++. Normal new operator does two things : (1) Allocates memory (2) Constructs an object in
Qt Meta Type
The QMetaType class manages named types in the meta-object system The class is used as a helper to marshall types in QVariant and in
Preprocessor directives
Preprocessor directives are lines included in the code of programs preceded by a hash sign (#). These lines are not program statements
Qt Objects
The QObject class is the base class of all Qt objects Q_OBJECT Macro The Q_OBJECT Macro is probably one of the weirdest things to
Basic Engineering Circuit Analysis
Problems
Resonance Circuits
Resonance in AC circuits implies a special frequency determined by the values of the resistance , capacitance , and inductance . For series resonance the condition of resonance is straightforward
Inductive Proximity Sensor
A inductive proximity sensor can detect metal targets approaching the sensor, without physical contact with the target. Inductive Proximity Sensors are roughly classified into
Problems 4
Problem 1 Problem 2 Problem 3
Rvalue References
Understand std::move Because std::move does nothing but cast its argument to an rvalue, there have beensuggestions that a better name for it
platformio configuration file
platformio.ini (configuration file) Each PlatformIO project has a configuration file named platformio.ini in the root directory for the project.platformio.ini has sections (each denoted by a [header])