Skip to content

drxvmrz/progress_bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The simple cross-platform progress bar for console apps!

The easy-to-use progress bar for your own terminal/console/CLI applications on c++. No need to pre-compile or pre-build anything. Just please add this file to your app's sources and include it into your code!!

Features

  • Always below the real-time console outputs;
  • Easy to customize for your own style;
  • Nothing to pre-build or pre-compile;
  • Only cross-platform standart libraries;
  • Auto-recalculation progress to percents.

Quick start

Docs (More Details)

Example

There are a simple example to demonstrate a functionality.
This example implements a simulation of a process with tracking of its progress.
To see how it works just follow these steps:

1. Download the example folder

Then add into this folder root header from progress_bar.

2. Build it via CMAKE and run :)

Open your terminal in a root of downloaded example folder.
Make sure that the CMAKE is specified in your PATH variable.
Then invoke following commands:

mkdir build && cmake -B ./build && cmake --build ./build && cd ./build/Debug && ./main

Use main instead of ./main if you're in WINDOWS command prompt (not PowerShell):

mkdir build && cmake -B ./build && cmake --build ./build && cd ./build/Debug && main

About

Progress bar that always below real time console output!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors