Given two ranges, [a1,a2] and [b1,b2]; then a value s in range [a1,a2] is linearly mapped to a value t in range [b1,b2] when: The task is to
Continue ReadingAn Introduction to the Imperative Part of C++
C Programming Tips
C is one of the most important and widely used of all programming languages. It is a powerful language that can be used not only to build general-purp
Continue ReadingBeginner’s Guide to C++
Introduction Getting Started Hello World Dissecting "Hello World" Directives Namespaces Entry Streams The Lang
Continue ReadingC++: Greatest Common Denominator
int Find_Greatest_Common_Denominator(int x, int y) //Function that finds the Greatest Common Denominator ("GCD") between 2 integers { int a;
Continue ReadingWhat Concepts Are the Most Dangerous Ones in Quantitative Finance Work?
There are a few things that form the common canon of education in (quantitative) finance, yet everybody knows they are not exactly true, useful, well-
Continue ReadingC++: Happy Numbers
From Wikipedia, the free encyclopedia: A happy number is defined by the following process. Starting with any positive integer, replace the number
Continue ReadingC++: Hostname
Find the name of the host on which the routine is running. #include <stdlib.h> #include <stdio.h> #include <limits.h> #inclu
Continue ReadingEfficiently Storing Real-Time Intraday Data in an Application Agnostic Way
What would be the best approach to handle real-time intraday data storage? For personal research I've always imported from flat files only into mem
Continue ReadingC++: Multiplicative Digital Root
The multiplicative digital root (MDR) and multiplicative persistence (MP) of a number, n, is calculated rather like the Digital root except digits are
Continue Reading




