ProgressBar
 
Loading...
Searching...
No Matches
Overview

This repository contains class ProgressBar that allows you to print a fast and customizable ASCII bar to show the progress in the terminal.

Requirements

  • GNU GCC++17 or newer

Installing

Run in your working directory to download

git clone https://github.com/Sergeyir/ProgressBar

Run in the downloaded directory to generate the Makefile

cmake .

Then run to compile libraries and executables

make

You can check the compilation result by running the simplest test executable

./bin/test

There is another option for compilation with Makefile (located in etc directory). To compile the project this way run

cp etc/Makefile* . && make

Documentation

You can view the detailed documentation at https://sergeyir.github.io/documentation/ProgressBar/ (see Classes/Class List/ProgressBar).

If the link is inaccessible, you can generate the documentation yourself with Doxygen. To do this run while in the root of the repository

doxygen

To view the generated HTML file, open html/index.html with any browser or simply run to open it on Linux

xdg-open html/index.html

Usage

You can link the compiled library libPBar.so (see Makefile and Makefile.am for reference in the examples directory or see CMakeLists.txt). Also see examples in the examples directory: