This document is part of the HTML publication "An Introduction to the Imperative Part of C++" The original version was produced by Rob Miller a
Continue ReadingC++: Map Range
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 ReadingC++ Graphs
[pt_view id="c80f015b30"]
Continue ReadingC++: Elementary Cellular Automaton
An elementary cellular automaton is a one-dimensional cellular automaton where there are two possible states (labeled 0 and 1) and the rule to determi
Continue ReadingC++: Write CSV File
void write_csv_file(double A[], int length, string file_name) //Function that prints array A to a *.csv file { ofstream output(file_name);
Continue ReadingC++: Radix Sort
// C++ LSD Radix Sort example, queue implementation #include <iostream.h> #include <cstdlib.h> #include <ctime.h> using
Continue ReadingObfuscated C Code Contest 2006. Please explain sykes2.c
How does this C program work? main(_){_^448&&main(-~_);putchar(--_%64?32|-~7[__TIME__-_/8%8][">'txiZ^(~z?"-48]>>";;;====~$::199"[_*2
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 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 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 Reading




