void Geometric_Mean_Array(double & mean_normal, const double * a, const int n) //Function that calculates the geometric mean (geometric avera
Continue ReadingC++ Full Course Lesson 3: More on Printing Text
https://www.youtube.com/watch?v=sPv0HQ8xOaU&list=PLAE85DE8440AA6B83&index=3
Continue ReadingScott Meyers – the Evolving Search for Effective C++ – Keynote @ Meeting C++ 2014
https://www.youtube.com/watch?v=smqT9Io_bKo
Continue ReadingC++: Create a File
In this task, the job is to create a new empty file called "output.txt" of size 0 bytes and an empty directory called "docs". This should be done twic
Continue ReadingC++: Largest Int from Concatenated Ints
Given a set of positive integers, the task is to write a function to order the integers in such a way that the concatenation of the numbers forms the
Continue ReadingC++: Black Scholes Put Option Vega
// Calculate the Black Scholes European put option Vega double BS_Put_Option_Vega(double S, double K, double r, double v, double T) // Parameter
Continue ReadingC++: Random Number Generator
Rule 30 is considered to be chaotic enough to generate good pseudo-random numbers. As a matter of fact, rule 30 is used by the Mathematica software fo
Continue ReadingC++: Hamming Numbers
Hamming numbers are numbers of the form . Hamming numbers are also known as ugly numbers and also 5-smooth numbers (numbers whose prime div
Continue ReadingC++: Higher-Order Functions
Pass a function as an argument to another function. Function Pointer Works with: g++ version 3.4.2 (mingw-special) C++ can pass function pointers i
Continue ReadingC++: Multiple Inheritance
Multiple inheritance allows to specify that one class is a subclass of several other classes. Some languages allow multiple inheritance for arbitrary
Continue Reading




