Skip to content

Instantly share code, notes, and snippets.

Avatar

Max Paperno mpaperno

View GitHub Profile
@TimSC
TimSC / RunningAverage.h
Last active Nov 27, 2019
Calculate running average in C++
View RunningAverage.h
#ifndef _RUNNING_AVERAGE_H
#define _RUNNING_AVERAGE_H
#include <vector>
#include <iostream>
#include <cmath>
using namespace std;
class RunningAverage
{
You can’t perform that action at this time.