add (copy) progress bar

This commit is contained in:
2026-03-24 09:45:11 +01:00
parent 513123fb45
commit c21894df0d
2 changed files with 213 additions and 1 deletions
+10 -1
View File
@@ -1,7 +1,16 @@
#include "y_test_h.h"
IMPLEMENTATION_PROGRESS_BAR()
int main(){
bar_progress_start();
int n=221;
for(int i=0; i<n; ++i){
//sleep(2222);
bar_progress_step(i/n);
}
return 0;
}