PinnedAsit DhalBack to basics: CMake VariablesLike any programming language, CMake provides a mechanism to store data or state during computation. CMake provides two types of variables.Apr 10, 2023Apr 10, 2023
Asit DhalDifference between std::endl and “\n”std::cout << std::endl is not always faster than std::cout << “\n”.Jan 24, 20211Jan 24, 20211
Asit DhalinThe StartupLearning C++ Thread Support Library Through System CallsC++11 threads = native threads + language specificationsJan 18, 2021Jan 18, 2021
Asit DhalNullable vlaue type in C++std::optional is a type wrapper which wraps that type and an optional flag which says about the nullability of that type.Dec 14, 2020Dec 14, 2020
Asit DhalincodeburstC++17 Structural BindingStructural binding allows you to initialize multiple variables with individual elements of a structure, tuple, or an array.Dec 3, 2020Dec 3, 2020
Asit DhalAssociation vs Aggregation vs Compositionrelationship between different objectsSep 27, 2020Sep 27, 2020
Asit DhalModel-View-Delegate in QMLModel-view-delegate pattern is a variant of MVC pattern. Model has the data. View is responsible for presenting data. Delegate is…Aug 22, 2020Aug 22, 2020
Asit DhalStackLayout in QMLIn StackLayout, items are kept on top of other. You can bring any item to the top by setting the index of layout.Aug 20, 2020Aug 20, 2020
Asit DhalRAII in C++Sometimes at some part of the program, we need to allocate some memory and later free the memory or close the file.Aug 10, 2020Aug 10, 2020
Asit DhalSOLID principlesThis is a question which I was asked in a senior software engineer position for a Berlin based principle.Aug 10, 2020Aug 10, 2020