#include #include #include "progressbar.h" int main() { struct progressbar pg; progressbar_start(&pg, 100); for (int i = 0; i < 100; i++) { Sleep(100); progressbar_inc(&pg); } return 0; }