Atomic Data Types C++ has a set of simple atomic data types. These are booleans, characters, numbers and pointers in many variants. They
Qt Internationalization
Most real projects have a target audience in multiple countries. The most notable difference between them is the spoken language, but there are other
String handling
Applications with a graphical user interface (and games surely fall into this category) are able to interact with users by displaying text and by
Chrono in C++
Chrono library is used to deal with date and time. This library was designed to deal with the fact that timers and
Permutation And Numeric Algorithms
Permutations std::prev_permutation and std::next_permutation return the previous smaller or next bigger permutation of the newly ordered range. If a smaller or bigger permutation is not
binary heap
A binary heap is a heap data structure that takes the form of a binary tree. Binary heaps are a common way of implementing priority queues.[1]:162–163 The binary heap was
Sort, Binary Search, Merge Algorithms
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