A very simple progress bar (with percentage) for c++ loops, available in two different styles (with or without the bar).
To use the bar in parallelized loops call ProgressBar::Update
in a critical section. With OpenMP this can be achieved with the following structure:
#pragma omp parallel for
for ( ... ) {
#pragma omp critical
bar.Update();
}