Skip to content
Simple and minimal C progress bar library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
bar.h
bar.test.c
demo.gif

README.md

bar.h

(Yet another) progress bar C library

Description

This C library helps on printing progress bars in programs with long running tasks.

Demonstration

Usage

#include "bar.h"
/* ... */
bar_1(20); // prints a preset bar at 20%
/* ... */

This project has inline documentation. To find out how a function works, just peek at the code.

Please note that it counts from 0 to 100 inclusive (that's 101 possible values to the progress bar).

Motivation

I started developing this library under a friend request. I thought it could be useful for other people, so I decided to upload it here.

I also did this to practise my C coding skills, so you may find some bad coding practices or designs. In that case, don't hesitate to send me a pull request.

You can’t perform that action at this time.