Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.
/ bar.h Public archive

Simple and minimal C progress bar library

License

Notifications You must be signed in to change notification settings

cgrs/bar.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple and minimal C progress bar library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages