Implementation of progress bar.

This commit is contained in:
Patrick Shriwise 2018-10-29 18:02:00 -05:00
parent e09a78dabd
commit 6014310f01
5 changed files with 80 additions and 1 deletions

View file

@ -0,0 +1,22 @@
#ifndef OPENMC_PROGRESSBAR_H
#define OPENMC_PROGRESSBAR_H
#include <string>
class ProgressBar {
public:
// Constructor
ProgressBar();
void set_value(double val);
private:
std::string bar;
char bar_old[72] = "???% | |";
};
#endif // OPENMC_PROGRESSBAR_H