OAIP_Mirror/progressbar test/main.c
2024-11-30 18:15:43 +04:00

20 lines
245 B
C

#include <stdio.h>
#include <Windows.h>
#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;
}