mirror of
https://github.com/Kaehvaman/OAIP.git
synced 2025-01-18 16:49:11 +04:00
20 lines
245 B
C
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;
|
|
}
|