CMake
https://cmake.org/cmake/help/latest/guide/tutorial/index.html Step 1: A Basic Starting Point
https://cmake.org/cmake/help/latest/guide/tutorial/index.html Step 1: A Basic Starting Point
It’s free and open source. Maybe by exploring the features, beauty could be understood. I always trust the official documentation – so trying out official tutorial page from git would be a good idea. But git or github? I think github = git + cloud hosting. https://docs.github.com/en/get-started/quickstart Creating new repository is easy. Branching can also …
General The below statement doesn’t make sense to me. (Taken from the official documentation https://www.freertos.org/implementation/a00012.html) The ‘__attribute__ ( ( signal ) )’ directive on the function prototype informs the compiler that the function is an ISR and results in two important changes in the compiler output. The ‘signal’ attribute ensures that every processor register that gets modified …
A linear equation in 2 variables is a straight line on a graph. A system of 2 Linear equations in 2 variables –A1x + B1y = C1A2x + B2y = C2The 2 lines will be parallel to each other if (A1 * B2) – (B1 * A2) = 0 If (A1 * B2) – (B1 …
Below thoughts have been written for my personal record. Those might be true, false, right, wrong, sane, insane etc. Consider a classic X-axis. It is divided into infinite discrete parts. Consider a classic Y-axis. It is also divided into infinite discrete parts. Consider a classic X-Y plane and think about these co-ordinates : (1, -infinity ) (1, -93459485 …
The name google was inspired by the names “googol” and “googolplex”. But this post is not about google company but about the number “googolplex”. As per Wikipedia, the Googol term was coined in 1920 by 9-year-old Milton Sirotta (1911–1981), nephew of U.S. mathematician Edward Kasner. The googol is a number 10^100. In simple words, it …
Compiler settings Use –pedantic-errors compiler flag. It will guarentee that code is compiled according to used c++ standard. If this flas is not used, sometimes, compiler extensions allow some specific code which is not compatible with standard to compile without an error. For example – If flag is not used then, g++ compiler will give …
While programming in C++, it is important to know the size of various basic datatypes supported by C++. Below code will give you the size of various basic datatypes. Code //============================================================================ // Name : Study.cpp // Author : Kirteekumar // Version : // Copyright : // Description : size of various types in C++ , …
View on github