length

int length(double* first, double* last);

Returns the number of elements in [first, last).

Parameters:
firstBeginning iterator for the container of elements.
lastEnding iterator for the container of elements.

Returns:
Length

Usage:
double s[4] = {1.1, 2.2, 3.3, 4.4};
int n = length(s, s + 4);

Header:
#include "descript.h"