Problem The following code shows the problem of a cyclic reference with shared pointers. When leaving the main function the
Continue readingCategory: Computer
Software development process
1. Linear (Traditional) In the past it was very common to develop software projects that way. It means you have
Continue readingCloning vs. Branching vs. Forking
Cloning – Creating a local copy of a remote repository. – Gets used to build a project or get involved.
Continue readingSoftware Cracking (Example 2)
This time we have got a KeyGenMe, which means the task is to write a KeyGen and not just to
Continue readingObserver (Design pattern)
In this behavioral design pattern all observer getting notified of a change from a subject they are registered at.
Continue readingFunction pointer vs. std::function vs Function template
Showcase Code ▼ Compiler ▼ – Tool: godbolt.org – Compiler: x86-64 Clang 16.0.0 – Args: -std=c++20 – Output: Intel asm
Continue readingData structures – Overview (libstdc++)
The “C++ standard library” isn’t defining implementation details of the data structures, it just defines their behavior. The libstdc++ is
Continue readingOut of source building (CMake)
When building your project with CMake, make sure to put all generated files in a different folder. Meta build $
Continue readingMemory Management (C++)
1. Automatic allocation – Stack Objects created on the stack, will be cleaned up automatically after they have run out
Continue readingDelete already pushed commits (Git)
The first thing is to checkout the newest commit from the wanted branch. Then you need to get the commit-id
Continue reading